minor fixes

This commit is contained in:
Neythen Treloar
2022-03-07 17:43:34 +00:00
parent 4ba23566bc
commit e8ce635312
5 changed files with 14 additions and 7 deletions

View File

@@ -839,8 +839,8 @@ if __name__ == '__main__':
except Exception as e:
print(e)
raise e
print(str(e))
exc_type, exc_obj, exc_tb = sys.exc_info()
fname = os.path.split(exc_tb.tb_frame.f_code.co_filename)[1]
logf.write(str(e))