diff options
author | terminaldweller <thabogre@gmail.com> | 2021-08-03 15:24:19 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2021-08-03 15:24:19 +0000 |
commit | b20f83543a76fc1237a9030fefd81fb862685708 (patch) | |
tree | 31d0da2e87586240fe4a655105b2f45c08580be9 /delf.py | |
parent | some clean up per lgtm (diff) | |
download | delf-b20f83543a76fc1237a9030fefd81fb862685708.tar.gz delf-b20f83543a76fc1237a9030fefd81fb862685708.zip |
pep-8 and poetry
Diffstat (limited to 'delf.py')
-rwxr-xr-x | delf.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -4,6 +4,7 @@ import code import signal from load import premain, CLIArgParser, SigHandler_SIGINT + def main(): argparser = CLIArgParser() if argparser.args.dbg: @@ -11,7 +12,8 @@ def main(): premain(argparser) except Exception as e: print(e.__doc__) - if e.message: print(e.message) + if e.message: + print(e.message) signal.signal(signal.SIGINT, SigHandler_SIGINT) variables = globals().copy() variables.update(locals()) @@ -20,5 +22,6 @@ def main(): else: premain(argparser) + if __name__ == "__main__": main() |