From 12ae367626f939b505f3f44f3599007e01846da6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Tue, 12 Jan 2021 10:00:54 +0100 Subject: [PATCH] daemon: Fix a couple of styel issues --- pantalaimon/daemon.py | 6 +++--- pantalaimon/store.py | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/pantalaimon/daemon.py b/pantalaimon/daemon.py index 35b7f65..a038490 100755 --- a/pantalaimon/daemon.py +++ b/pantalaimon/daemon.py @@ -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) diff --git a/pantalaimon/store.py b/pantalaimon/store.py index 911850d..c1b4691 100644 --- a/pantalaimon/store.py +++ b/pantalaimon/store.py @@ -60,6 +60,7 @@ class MediaInfo: return content + @attr.s class UploadInfo: content_uri = attr.ib(type=str)