mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-22 23:26:40 -08:00
Python: Fix Flake8 E722 and E741
Additionally: * Use functions to group blocks of code * Use variable names (not just one character...)
This commit is contained in:
@@ -96,7 +96,7 @@ while still_running:
|
||||
try:
|
||||
if response.upper()[0] != "Y":
|
||||
still_running = False
|
||||
except:
|
||||
except Exception:
|
||||
still_running = False
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user