diff options
author | H Lohaus <hlohaus@users.noreply.github.com> | 2023-11-15 18:22:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-15 18:22:55 +0100 |
commit | b0a21c28bbcb3df19df854bb0c37ce0abf21a8f1 (patch) | |
tree | 93a62bf98451ea14e660c727b0a89eadfb532a71 /g4f | |
parent | ~ (diff) | |
parent | Check_pypi_version now returns value (diff) | |
download | gpt4free-b0a21c28bbcb3df19df854bb0c37ce0abf21a8f1.tar gpt4free-b0a21c28bbcb3df19df854bb0c37ce0abf21a8f1.tar.gz gpt4free-b0a21c28bbcb3df19df854bb0c37ce0abf21a8f1.tar.bz2 gpt4free-b0a21c28bbcb3df19df854bb0c37ce0abf21a8f1.tar.lz gpt4free-b0a21c28bbcb3df19df854bb0c37ce0abf21a8f1.tar.xz gpt4free-b0a21c28bbcb3df19df854bb0c37ce0abf21a8f1.tar.zst gpt4free-b0a21c28bbcb3df19df854bb0c37ce0abf21a8f1.zip |
Diffstat (limited to '')
-rw-r--r-- | g4f/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/g4f/__init__.py b/g4f/__init__.py index c712829c..fd8aa306 100644 --- a/g4f/__init__.py +++ b/g4f/__init__.py @@ -15,6 +15,8 @@ def check_pypi_version() -> None: if version != latest_version: print(f'New pypi version: {latest_version} (current: {version}) | pip install -U g4f') + return False + return True except Exception as e: print(f'Failed to check g4f pypi version: {e}') |