replace except: with except Exception:

This commit is contained in:
Michael Poluektov committed 2024-08-14 13:38:19 +01:00
1 parent 0ec1f9e331
commit 6f72def1ac
16 files changed
+71 -71

No files matched your search

+1 -1
View File
@@ -235,7 +235,7 @@ async def delete_function_by_id(
function_path = os.path.join(FUNCTIONS_DIR, f"{id}.py")
try:
os.remove(function_path)
except:
except Exception:
pass
return result