-
Notifications
You must be signed in to change notification settings - Fork 93
Open
Description
Hello Charles,
In my environment (Python 2.7), I found that variable DEBUG is recognized as str type instead of Bool type, after setting debug loaded from config file (".git\gitcc"):
Line 228 in 9db2037
| DEBUG = cfg.getCore('debug', True) |
Then when calling function debug, regardless of the setting value, it will enter the if case and do the print action:
Lines 72 to 74 in 9db2037
| def debug(string): | |
| if DEBUG: | |
| print(string) |
Metadata
Metadata
Assignees
Labels
No labels