Skip to content

Commit

Permalink
build: compilemessages i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
shaohuzhang1 committed Jan 21, 2025
1 parent 8d1fee8 commit 904c012
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/smartdoc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def load_from_yml(self):
def load_from_env(self):
keys = os.environ.keys()
config = {key.replace('MAXKB_', ''): os.environ.get(key) for key in keys if key.startswith('MAXKB_')}
if len(config.keys()) <= 1:
if len(config.keys()) <= 0:
msg = f"""
Error: No config env found.
Expand Down

0 comments on commit 904c012

Please sign in to comment.