Browse Source

Merge pull request #1096 from rafalp/clean-misago-conf.debugtoolbar

Remove superficial lower() call
Rafał Pitoń 6 years ago
parent
commit
dc37210b42
1 changed files with 1 additions and 1 deletions
  1. 1 1
      misago/conf/debugtoolbar.py

+ 1 - 1
misago/conf/debugtoolbar.py

@@ -2,4 +2,4 @@ import os
 
 
 def enable_debug_toolbar(_):
-    return os.environ.get('IN_MISAGO_DOCKER', '').lower() == "1"
+    return os.environ.get('IN_MISAGO_DOCKER', '') == "1"