diff --git a/jobs/delete.py b/jobs/delete.py index a73e269..34b8634 100644 --- a/jobs/delete.py +++ b/jobs/delete.py @@ -27,7 +27,7 @@ def purge(): time.sleep(2) try: denoted = mk.notes_delete(note_id=n[0]) - except Misskey.exceptions.MisskeyAPIException: + except MisskeyAPIException: pass if denoted is not None: c.execute('DELETE FROM news WHERE noteId = ?', (n[0],))