Skip to content

Commit

Permalink
Update update.py
Browse files Browse the repository at this point in the history
  • Loading branch information
weebzone authored Jan 15, 2023
1 parent 0309900 commit 02e9cfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion update.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
if config_dict := db.settings.config.find_one({'_id': bot_id}): #retrun config dict (all env vars)
environ['UPSTREAM_REPO'] = config_dict['UPSTREAM_REPO']
environ['UPSTREAM_BRANCH'] = config_dict['UPSTREAM_BRANCH']
environ['UPDATE_PACKAGES'] = config_dict['UPDATE_PACKAGES']
environ['UPDATE_PACKAGES'] = config_dict.get('UPDATE_PACKAGES', 'False')
conn.close()

UPDATE_PACKAGES = environ.get('UPDATE_PACKAGES', 'False')
Expand Down

0 comments on commit 02e9cfe

Please sign in to comment.