mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2025-02-11 20:38:49 -05:00
daemon: Fix a couple of styel issues
This commit is contained in:
parent
1c317ed294
commit
12ae367626
@ -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)
|
||||
|
||||
|
@ -60,6 +60,7 @@ class MediaInfo:
|
||||
|
||||
return content
|
||||
|
||||
|
||||
@attr.s
|
||||
class UploadInfo:
|
||||
content_uri = attr.ib(type=str)
|
||||
|
Loading…
x
Reference in New Issue
Block a user