Also I renamed main.py ot __main__.py and placed in root directory.
This commit is contained in:
parent
f2da816be5
commit
2a126c3dfd
@ -183,3 +183,6 @@ def main():
|
|||||||
except Exception as err:
|
except Exception as err:
|
||||||
print(f"Something went exceptionally wrong. Error:",
|
print(f"Something went exceptionally wrong. Error:",
|
||||||
f"{type(err).__name__}:", err, file=stderr)
|
f"{type(err).__name__}:", err, file=stderr)
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
main()
|
Loading…
Reference in New Issue
Block a user