This commit is contained in:
Kovid Goyal 2016-01-07 15:06:18 +05:30
parent f9a9b64388
commit e0871ec10d

View File

@ -496,7 +496,7 @@ def singleinstance():
def update_stats(): def update_stats():
log = olog = 'stats.log' log = olog = 'stats.log'
if not os.path.exists(log): if not os.path.exists(log):
return return {}
stats = {} stats = {}
if IS_PRODUCTION: if IS_PRODUCTION:
try: try: