Browse Source

Fix bug about promenade debug

The lower of "PROMENADE_DEBUG" never equal to "True".

Change-Id: I77b6ece23d39bfcaead764bf3790c099f28b57cb
Signed-off-by: pengdake <19921207pq@gmail.com>
changes/04/620204/1
pengdake 7 months ago
parent
commit
6855976e6f
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      promenade/cli.py

+ 1
- 1
promenade/cli.py View File

@@ -73,4 +73,4 @@ def genereate_certs(*, config_files, output_dir):
73 73
 
74 74
 
75 75
 def _debug():
76
-    return os.environ.get('PROMENADE_DEBUG', '').lower() in {'1', 'True'}
76
+    return os.environ.get('PROMENADE_DEBUG', '').lower() in {'1', 'true'}

Loading…
Cancel
Save