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

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

View file

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