Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rzc0d3r authored Feb 4, 2025
1 parent 591b337 commit af886f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ def main(disable_exit=False):
logging.info(f'I_AM_EXECUTABLE={I_AM_EXECUTABLE}, OS={os.name}')
logging.info(f'sys.argv: {sys.argv}')

if args['repeat'] == 1:
if args['repeat'] == 1 or args['repeat'] == 0:
main()
else:
for i in range(args['repeat']):
Expand All @@ -650,4 +650,4 @@ def main(disable_exit=False):
else:
main(disable_exit=True)
except KeyboardInterrupt:
exit_program(0)
exit_program(0)

0 comments on commit af886f8

Please sign in to comment.