whatsapp-python 3.3.9.post1__tar.gz → 3.3.96__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.
Files changed (35) hide show
  1. {whatsapp_python-3.3.9.post1 → whatsapp_python-3.3.96}/PKG-INFO +1 -1
  2. {whatsapp_python-3.3.9.post1 → whatsapp_python-3.3.96}/whatsapp/__init__.py +3 -2
  3. {whatsapp_python-3.3.9.post1 → whatsapp_python-3.3.96}/whatsapp/constants.py +1 -1
  4. {whatsapp_python-3.3.9.post1 → whatsapp_python-3.3.96}/.github/FUNDING.yml +0 -0
  5. {whatsapp_python-3.3.9.post1 → whatsapp_python-3.3.96}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  6. {whatsapp_python-3.3.9.post1 → whatsapp_python-3.3.96}/.github/ISSUE_TEMPLATE/custom.md +0 -0
  7. {whatsapp_python-3.3.9.post1 → whatsapp_python-3.3.96}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
  8. {whatsapp_python-3.3.9.post1 → whatsapp_python-3.3.96}/.github/dependabot.yml +0 -0
  9. {whatsapp_python-3.3.9.post1 → whatsapp_python-3.3.96}/.github/workflows/codeql.yml +0 -0
  10. {whatsapp_python-3.3.9.post1 → whatsapp_python-3.3.96}/.github/workflows/dependency-review.yml +0 -0
  11. {whatsapp_python-3.3.9.post1 → whatsapp_python-3.3.96}/.github/workflows/python-publish.yml +0 -0
  12. {whatsapp_python-3.3.9.post1 → whatsapp_python-3.3.96}/.gitignore +0 -0
  13. {whatsapp_python-3.3.9.post1 → whatsapp_python-3.3.96}/CODE_OF_CONDUCT.md +0 -0
  14. {whatsapp_python-3.3.9.post1 → whatsapp_python-3.3.96}/CONTRIBUTING.md +0 -0
  15. {whatsapp_python-3.3.9.post1 → whatsapp_python-3.3.96}/LICENSE +0 -0
  16. {whatsapp_python-3.3.9.post1 → whatsapp_python-3.3.96}/README.md +0 -0
  17. {whatsapp_python-3.3.9.post1 → whatsapp_python-3.3.96}/SECURITY.md +0 -0
  18. {whatsapp_python-3.3.9.post1 → whatsapp_python-3.3.96}/examples/reply_to_message_obj.py +0 -0
  19. {whatsapp_python-3.3.9.post1 → whatsapp_python-3.3.96}/examples/sending_audio.py +0 -0
  20. {whatsapp_python-3.3.9.post1 → whatsapp_python-3.3.96}/examples/sending_button.py +0 -0
  21. {whatsapp_python-3.3.9.post1 → whatsapp_python-3.3.96}/examples/sending_document.py +0 -0
  22. {whatsapp_python-3.3.9.post1 → whatsapp_python-3.3.96}/examples/sending_image.py +0 -0
  23. {whatsapp_python-3.3.9.post1 → whatsapp_python-3.3.96}/examples/sending_location.py +0 -0
  24. {whatsapp_python-3.3.9.post1 → whatsapp_python-3.3.96}/examples/sending_message.py +0 -0
  25. {whatsapp_python-3.3.9.post1 → whatsapp_python-3.3.96}/examples/sending_template_message.py +0 -0
  26. {whatsapp_python-3.3.9.post1 → whatsapp_python-3.3.96}/examples/sending_video.py +0 -0
  27. {whatsapp_python-3.3.9.post1 → whatsapp_python-3.3.96}/examples/standalone_hook.py +0 -0
  28. {whatsapp_python-3.3.9.post1 → whatsapp_python-3.3.96}/pyproject.toml +0 -0
  29. {whatsapp_python-3.3.9.post1 → whatsapp_python-3.3.96}/whatsapp/ext/_buttons.py +0 -0
  30. {whatsapp_python-3.3.9.post1 → whatsapp_python-3.3.96}/whatsapp/ext/_media.py +0 -0
  31. {whatsapp_python-3.3.9.post1 → whatsapp_python-3.3.96}/whatsapp/ext/_message.py +0 -0
  32. {whatsapp_python-3.3.9.post1 → whatsapp_python-3.3.96}/whatsapp/ext/_property.py +0 -0
  33. {whatsapp_python-3.3.9.post1 → whatsapp_python-3.3.96}/whatsapp/ext/_send_media.py +0 -0
  34. {whatsapp_python-3.3.9.post1 → whatsapp_python-3.3.96}/whatsapp/ext/_send_others.py +0 -0
  35. {whatsapp_python-3.3.9.post1 → whatsapp_python-3.3.96}/whatsapp/ext/_static.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: whatsapp-python
3
- Version: 3.3.9.post1
3
+ Version: 3.3.96
4
4
  Summary: Open source Python wrapper for the WhatsApp Cloud API
5
5
  Project-URL: Homepage, https://github.com/filipporomani/whatsapp-python
6
6
  Project-URL: Docs, https://github.com/filipporomani/whatsapp-python/wiki
@@ -58,12 +58,13 @@ class WhatsApp(object):
58
58
  version_int = int(self.VERSION.replace(".", ""))
59
59
  except:
60
60
  version_int = 0
61
- latest_int = int(latest.replace(".", ""))
61
+ try: latest_int = int(latest.replace(".", ""))
62
+ except: latest_int = 0
62
63
  # this is to avoid the case where the version is 1.0.10 and the latest is 1.0.2 (possible if user is using the github version)
63
64
  if version_int < latest_int:
64
65
  if version_int == 0:
65
66
  logging.critical(
66
- f"There was an error while checking for updates, please update the package manually or report the issue on GitHub.")
67
+ f"There was an error while checking for updates, please check for updates manually. This may be due to the version being a post-release version (e.g. 1.0.0.post1) or a pre-release version (e.g. 1.0.0a1). READ THE CHANGELOG BEFORE UPDATING. NEW VERSIONS MAY BREAK YOUR CODE IF NOT PROPERLY UPDATED.")
67
68
  else:
68
69
  logging.critical(
69
70
  f"Whatsapp-python is out of date. Please update to the latest version {latest}. READ THE CHANGELOG BEFORE UPDATING. NEW VERSIONS MAY BREAK YOUR CODE IF NOT PROPERLY UPDATED.")
@@ -1,4 +1,4 @@
1
1
  # This file contains the constants used in the project.
2
2
  # The VERSION constant is used to store the version of the project - it's not only used in the __init__.py file, but also in the pyproject.toml file.
3
3
 
4
- VERSION = "3.3.9.post1"
4
+ VERSION = "3.3.96"