woops
This commit is contained in:
parent
dba93f8bb3
commit
37730c1bb1
|
@ -54,7 +54,8 @@ 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:
|
||||||
userUtils.incrementReplaysWatched(replayData["userid"], replayData["play_mode"], replayData["mods"])
|
if username != replayData["uname"]:
|
||||||
|
userUtils.incrementReplaysWatched(replayData["userid"], replayData["play_mode"], replayData["mods"])
|
||||||
|
|
||||||
log.info("Serving replay_{}.osr".format(replayID))
|
log.info("Serving replay_{}.osr".format(replayID))
|
||||||
fileName = ".data/replays/replay_{}.osr".format(replayID)
|
fileName = ".data/replays/replay_{}.osr".format(replayID)
|
||||||
|
|
Reference in New Issue
Block a user