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