commit f5b26844be16d27e1d215e4e4c2504a977437624
parent 3c56725af005047d79de9c06df4871976a754117
Author: GeaRSiX <gearsix@tuta.io>
Date: Sat, 5 Jun 2021 22:07:08 +0100
fixes after trying to bundle
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sya.py b/sya.py
@@ -24,7 +24,7 @@ def log(msg):
def error_exit(msg):
log('exit failure "{}"'.format(msg))
- exit()
+ sys.exit()
def parse_args():
parser = argparse.ArgumentParser(
@@ -161,6 +161,6 @@ if __name__ == '__main__':
if args.gui:
app = pyqt_widgets.QApplication(sys.argv)
options = gui.SyaGui(sya, args)
- sys.exit(app.exec())
+ sys.exit(app.exec_())
else:
sya(args)