Browse Source

Enable debug (or not) via CLI args

tags/v0.9.0
falkTX 13 years ago
parent
commit
30bea7a6cb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/shared.py

+ 1
- 1
src/shared.py View File

@@ -61,7 +61,7 @@ except:
VERSION = "0.5.0"

# Set Debug mode
DEBUG = True
DEBUG = bool("-d" in sys.argv or "-debug" in sys.argv or "--debug" in sys.argv)

# Global variables
global x_gui


Loading…
Cancel
Save