Access .upload_count from the correct object after the web refactor

This commit is contained in:
Micah Lee 2018-09-21 17:42:36 -07:00
parent bddddff546
commit a1cddeb9a9
No known key found for this signature in database
GPG key ID: 403C2657CD994F73

View file

@ -249,8 +249,8 @@ class ReceiveModeRequest(Request):
self.progress = {}
# Create an upload_id, attach it to the request
self.upload_id = self.upload_count
self.upload_count += 1
self.upload_id = self.web.receive_mode.upload_count
self.web.receive_mode.upload_count += 1
# Figure out the content length
try: