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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: chdev
3
- Version: 1.2.0
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
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "chdev"
7
- version = "1.2.0"
7
+ version = "1.2.1"
8
8
  authors = [
9
9
  { name="chdev", email="contact@chdev.co.uk" },
10
10
  ]
@@ -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.0"
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
- if not quiet:
222
- print("Please open the link above in your browser to sign in.")
223
- elif not quiet:
224
- print("Please open the link above in your browser to sign in.")
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.0
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