chdev 1.2.0__tar.gz → 1.2.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {chdev-1.2.0 → chdev-1.2.1}/PKG-INFO +1 -1
- {chdev-1.2.0 → chdev-1.2.1}/pyproject.toml +1 -1
- {chdev-1.2.0 → chdev-1.2.1}/src/chdev/__init__.py +5 -7
- {chdev-1.2.0 → chdev-1.2.1}/src/chdev.egg-info/PKG-INFO +1 -1
- {chdev-1.2.0 → chdev-1.2.1}/README.md +0 -0
- {chdev-1.2.0 → chdev-1.2.1}/setup.cfg +0 -0
- {chdev-1.2.0 → chdev-1.2.1}/src/chdev.egg-info/SOURCES.txt +0 -0
- {chdev-1.2.0 → chdev-1.2.1}/src/chdev.egg-info/dependency_links.txt +0 -0
- {chdev-1.2.0 → chdev-1.2.1}/src/chdev.egg-info/top_level.txt +0 -0
- {chdev-1.2.0 → chdev-1.2.1}/src/chdevauth/__init__.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: chdev
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.1
|
|
4
4
|
Summary: Official Python client library for chdev Authentication (SSO for Google, Discord, Microsoft)
|
|
5
5
|
Author-email: chdev <contact@chdev.co.uk>
|
|
6
6
|
Project-URL: Homepage, https://authentication.chdev.co.uk
|
|
@@ -11,7 +11,7 @@ import urllib.request
|
|
|
11
11
|
import webbrowser
|
|
12
12
|
from typing import Any, Callable, Dict, Optional
|
|
13
13
|
|
|
14
|
-
__version__ = "1.2.
|
|
14
|
+
__version__ = "1.2.1"
|
|
15
15
|
__all__ = [
|
|
16
16
|
"google_login",
|
|
17
17
|
"discord_login",
|
|
@@ -215,13 +215,11 @@ def login(
|
|
|
215
215
|
if open_browser:
|
|
216
216
|
try:
|
|
217
217
|
webbrowser.open(login_url)
|
|
218
|
-
if not quiet:
|
|
219
|
-
print("Browser opened. Waiting for authentication...")
|
|
220
218
|
except Exception:
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
print("
|
|
219
|
+
pass
|
|
220
|
+
|
|
221
|
+
if not quiet:
|
|
222
|
+
print("Waiting for authentication...")
|
|
225
223
|
|
|
226
224
|
start_time = time.time()
|
|
227
225
|
while time.time() - start_time < timeout:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: chdev
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.1
|
|
4
4
|
Summary: Official Python client library for chdev Authentication (SSO for Google, Discord, Microsoft)
|
|
5
5
|
Author-email: chdev <contact@chdev.co.uk>
|
|
6
6
|
Project-URL: Homepage, https://authentication.chdev.co.uk
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|