replace except: with except Exception:
This commit is contained in:
1 parent
0ec1f9e331
commit
6f72def1ac
16 files changed
+71
-71
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user