mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2025-07-20 05:29:11 -04:00
daemon: Fix a couple of styel issues
This commit is contained in:
parent
1c317ed294
commit
12ae367626
2 changed files with 4 additions and 3 deletions
|
@ -87,6 +87,7 @@ class NotDecryptedAvailableError(Exception):
|
|||
"""Exception that signals that no decrypted upload is available"""
|
||||
pass
|
||||
|
||||
|
||||
@attr.s
|
||||
class ProxyDaemon:
|
||||
name = attr.ib()
|
||||
|
@ -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…
Add table
Add a link
Reference in a new issue