mirror of
https://github.com/onionshare/onionshare.git
synced 2025-02-05 01:15:29 -05:00
Merge pull request #782 from micahflee/781_fix_receive_mode
Access .upload_count from the correct object after the web refactor
This commit is contained in:
commit
a1d6834bc7
@ -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…
x
Reference in New Issue
Block a user