Allow file uploads to finish, and improve uploads styling

This commit is contained in:
Micah Lee 2018-05-19 22:58:55 -07:00
parent 28fe7a4cf5
commit d8d1dc800d
6 changed files with 70 additions and 25 deletions

View file

@ -168,6 +168,12 @@ class ReceiveMode(Mode):
"""
pass
def handle_request_upload_finished(self, event):
"""
Handle REQUEST_UPLOAD_FINISHED event.
"""
self.uploads.finished(event["data"]["id"])
def reset_info_counters(self):
"""
Set the info counters back to zero.