Skip to content

Commit f89983e

Browse files
committed
исправил ошибки линтера
1 parent ee84a34 commit f89983e

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ def inject_user():
306306
is_authenticated=True,
307307
current_user=current_user,
308308
)
309-
except Exception as _:
309+
except Exception:
310310
return dict(current_user_id=None, is_authenticated=False, current_user=None)
311311

312312

src/miminet_admin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def is_accessible(self):
5555
return True
5656
else:
5757
return False
58-
except Exception as _:
58+
except Exception:
5959
return False
6060

6161
def inaccessible_callback(self, name, **kwargs):

src/miminet_network.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def web_network():
185185
print(
186186
f"User ID: {user_id}; Net author: {net.author_id}; {user_id == net.author_id}"
187187
)
188-
except Exception as _:
188+
except Exception:
189189
if net.share_mode:
190190
return redirect(
191191
external_url_for(

0 commit comments

Comments
 (0)