Skip to content

Commit 904c012

Browse files
committed
build: compilemessages i18n
1 parent 8d1fee8 commit 904c012

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/smartdoc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def load_from_yml(self):
199199
def load_from_env(self):
200200
keys = os.environ.keys()
201201
config = {key.replace('MAXKB_', ''): os.environ.get(key) for key in keys if key.startswith('MAXKB_')}
202-
if len(config.keys()) <= 1:
202+
if len(config.keys()) <= 0:
203203
msg = f"""
204204
205205
Error: No config env found.

0 commit comments

Comments
 (0)