woops
This commit is contained in:
parent
dba93f8bb3
commit
37730c1bb1
|
@ -54,6 +54,7 @@ class handler(requestsManager.asyncRequestHandler):
|
||||||
|
|
||||||
# Increment 'replays watched by others' if needed
|
# Increment 'replays watched by others' if needed
|
||||||
if replayData is not None:
|
if replayData is not None:
|
||||||
|
if username != replayData["uname"]:
|
||||||
userUtils.incrementReplaysWatched(replayData["userid"], replayData["play_mode"], replayData["mods"])
|
userUtils.incrementReplaysWatched(replayData["userid"], replayData["play_mode"], replayData["mods"])
|
||||||
|
|
||||||
log.info("Serving replay_{}.osr".format(replayID))
|
log.info("Serving replay_{}.osr".format(replayID))
|
||||||
|
|
Reference in New Issue
Block a user