Some Fixes for pylint

This commit is contained in:
Mohamed ElKalioby
2024-01-25 14:06:49 +03:00
parent 0c16d2edee
commit 4d4d647d35
11 changed files with 27 additions and 35 deletions

View File

@@ -4,8 +4,10 @@ from . import views, totp, U2F, TrustedDevice, helpers, FIDO2, Email, recovery
try:
from django.urls import re_path as url
except:
except ImportError:
from django.conf.urls import url # pyre-ignore[21]
urlpatterns = [
url(r"totp/start/", totp.start, name="start_new_otop"),
url(r"totp/getToken", totp.getToken, name="get_new_otop"),