I get the following error while running python3 main.py
Traceback (most recent call last): File "main.py", line 16, in <module> demo() File "main.py", line 11, in demo quantum_encrypted_image = encrypt(image, key) File "/home/toshi/quantum_image_encryption/tools.py", line 26, in encrypt quantum_key = generate_quantum_key(key=key) File "/home/toshi/quantum_image_encryption/tools.py", line 13, in generate_quantum_key quantum_key = neqr(quantum_key) File "/home/toshi/quantum_image_encryption/utils.py", line 30, in neqr image.convert("L") AttributeError: 'NoneType' object has no attribute 'convert'
I get the following error while running python3 main.py
Traceback (most recent call last): File "main.py", line 16, in <module> demo() File "main.py", line 11, in demo quantum_encrypted_image = encrypt(image, key) File "/home/toshi/quantum_image_encryption/tools.py", line 26, in encrypt quantum_key = generate_quantum_key(key=key) File "/home/toshi/quantum_image_encryption/tools.py", line 13, in generate_quantum_key quantum_key = neqr(quantum_key) File "/home/toshi/quantum_image_encryption/utils.py", line 30, in neqr image.convert("L") AttributeError: 'NoneType' object has no attribute 'convert'