mirror of
https://github.com/onionshare/onionshare.git
synced 2025-08-03 11:56:06 -04:00
Move more mode-specific logic out of the Web class and into the approprate mode web classes
This commit is contained in:
parent
a86681e903
commit
28fd67cbcc
7 changed files with 87 additions and 84 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue