Skip to content

Commit

Permalink
Fixed code style
Browse files Browse the repository at this point in the history
  • Loading branch information
StefftheEmperor2 committed Feb 7, 2023
1 parent 85b741f commit 7754db3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/pyload/core/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
from ..network.request_factory import get_url
from ..utils import fs, seconds
from ..utils.old.packagetools import parse_names
from functools import wraps

# contains function names mapped to their permissions
# unlisted functions are for admins only
Expand Down
2 changes: 1 addition & 1 deletion src/pyload/core/database/user_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def check_auth(self, user, password):
def check_openid(self, oidc_user):
self.c.execute(
"SELECT id, name, role, permission, template, email FROM users WHERE oidc_user=?",
(oidc_user_field,),
(oidc_user,),
)
r = self.c.fetchone()
if not r:
Expand Down

0 comments on commit 7754db3

Please sign in to comment.