daemon: Fix a couple of styel issues

This commit is contained in:
Damir Jelić 2021-01-12 10:00:54 +01:00
parent 1c317ed294
commit 12ae367626
2 changed files with 4 additions and 3 deletions

View File

@ -84,8 +84,9 @@ CORS_HEADERS = {
class NotDecryptedAvailableError(Exception):
"""Exception that signals that no decrypted upload is available"""
pass
"""Exception that signals that no decrypted upload is available"""
pass
@attr.s
class ProxyDaemon:
@ -1222,7 +1223,6 @@ class ProxyDaemon:
return response, decrypted_file
async def profile(self, request):
access_token = self.get_access_token(request)

View File

@ -60,6 +60,7 @@ class MediaInfo:
return content
@attr.s
class UploadInfo:
content_uri = attr.ib(type=str)