.BANCHO. Save pep.py version in redis

This commit is contained in:
Nyo 2016-11-17 20:07:06 +01:00
parent 2992dc6190
commit eefec1f47b
1 changed files with 3 additions and 0 deletions

3
pep.py
View File

@ -113,6 +113,9 @@ if __name__ == "__main__":
# Script returns error if there are no keys starting with peppy:*
pass
# Save peppy version in redis
glob.redis.set("peppy:version", glob.VERSION)
# Load bancho_settings
try:
consoleHelper.printNoNl("> Loading bancho settings from DB... ")