mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2025-07-20 13:38:46 -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"""
|
"""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)
|
||||||
|
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue