mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-13 03:42:23 -04:00
Access .upload_count from the correct object after the web refactor
This commit is contained in:
parent
645af13ebb
commit
a8779d9c4f
1 changed files with 2 additions and 2 deletions
|
@ -249,8 +249,8 @@ class ReceiveModeRequest(Request):
|
||||||
self.progress = {}
|
self.progress = {}
|
||||||
|
|
||||||
# Create an upload_id, attach it to the request
|
# Create an upload_id, attach it to the request
|
||||||
self.upload_id = self.upload_count
|
self.upload_id = self.web.receive_mode.upload_count
|
||||||
self.upload_count += 1
|
self.web.receive_mode.upload_count += 1
|
||||||
|
|
||||||
# Figure out the content length
|
# Figure out the content length
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue