From f387a6e5505dbcaa4b1aed80bce34d2909322ef8 Mon Sep 17 00:00:00 2001 From: gab Date: Sun, 14 Jan 2024 22:32:52 -0500 Subject: [PATCH] Bump pycryptodome --- setup.py | 4 ++-- src/views/clipboard.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 7f50d0e..eefd0d7 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ setup( name='pyvault', - version='2.4.3', + version='2.4.4', description='Python password manager', long_description=long_description, author='Gabriel Bordeaux', @@ -19,7 +19,7 @@ 'vault.modules', 'vault.views'], package_dir={'vault': 'src'}, install_requires=[ - 'pycryptodome==3.15.0', + 'pycryptodome==3.20.0', 'pyperclip', 'tabulate', 'passwordgenerator', diff --git a/src/views/clipboard.py b/src/views/clipboard.py index ee65938..d1d09c9 100644 --- a/src/views/clipboard.py +++ b/src/views/clipboard.py @@ -16,7 +16,7 @@ def copy(to_copy, name='password', erase=False): global clipboard_signature # Discard invalid input like `None` or empty strings - if not erase and (type(to_copy) != str or to_copy == ''): + if not erase and (type(to_copy) is not str or to_copy == ''): print('* Nothing to copy!') return False