Skip to content

Commit

Permalink
Simplify code statement
Browse files Browse the repository at this point in the history
  • Loading branch information
rlafuente committed May 2, 2018
1 parent 1402295 commit 2d3395c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shoebot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ def run(src,
verbose=verbose,
# run forever except 1. windowed mode is off 2. if --close-window was specified and
# 3. if an output file was indicated
run_forever=window and (not close_window) and (not bool(outputfile)),
run_forever=window and not (close_window or bool(outputfile)),
)

# Run shoebot in a background thread so we can run a cmdline shell in the current thread
Expand Down

0 comments on commit 2d3395c

Please sign in to comment.