diff --git a/classes/poster_client.py b/classes/poster_client.py index baebc7f..51c43cd 100644 --- a/classes/poster_client.py +++ b/classes/poster_client.py @@ -31,6 +31,10 @@ class PosterClient(Client): raise SubmissionUnavailableError() else: filepath = path.join(configGet("data", "locations"), "submissions", db_entry["temp"]["uuid"], db_entry["temp"]["file"]) + try: + submission = await self.get_messages(db_entry["user"], db_entry["telegram"]["msg_id"]) + except: + pass else: try: submission = await self.get_messages(db_entry["user"], db_entry["telegram"]["msg_id"])