Skip to content

Commit

Permalink
Bump pycryptodome (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
gabfl authored Jan 15, 2024
1 parent dbf49f4 commit 2c8e36a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion src/views/clipboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 2c8e36a

Please sign in to comment.