dev #19

Merged
profitroll merged 98 commits from dev into master 2023-04-24 13:48:22 +03:00
Showing only changes of commit 8c478072c6 - Show all commits

View File

@ -31,6 +31,10 @@ class PosterClient(Client):
raise SubmissionUnavailableError() raise SubmissionUnavailableError()
else: else:
filepath = path.join(configGet("data", "locations"), "submissions", db_entry["temp"]["uuid"], db_entry["temp"]["file"]) 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: else:
try: try:
submission = await self.get_messages(db_entry["user"], db_entry["telegram"]["msg_id"]) submission = await self.get_messages(db_entry["user"], db_entry["telegram"]["msg_id"])