mirror of
https://gitea.tendokyu.moe/Hay1tsme/artemis.git
synced 2026-02-09 09:17:29 +08:00
replace except with except Exception
This commit is contained in:
@@ -130,7 +130,7 @@ class FE_Gate(FE_Base):
|
||||
if b"e" in request.args:
|
||||
try:
|
||||
err = int(request.args[b"e"][0].decode())
|
||||
except:
|
||||
except Exception:
|
||||
err = 0
|
||||
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user