Move more mode-specific logic out of the Web class and into the approprate mode web classes

This commit is contained in:
Micah Lee 2018-09-21 11:36:19 -07:00
parent a86681e903
commit 28fd67cbcc
No known key found for this signature in database
GPG key ID: 403C2657CD994F73
7 changed files with 87 additions and 84 deletions

View file

@ -100,7 +100,7 @@ class ReceiveMode(Mode):
Starting the server.
"""
# Reset web counters
self.web.upload_count = 0
self.web.receive_mode.upload_count = 0
self.web.error404_count = 0
# Hide and reset the uploads if we have previously shared