Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

logger syntax error #67

Closed
procraste opened this issue Jun 9, 2021 · 2 comments
Closed

logger syntax error #67

procraste opened this issue Jun 9, 2021 · 2 comments

Comments

@procraste
Copy link

I'm beginning to use PASS on my Linux PC. So i wanted to test your script
I've download the latest firefox_decrypt.py and tried running python firefox_decrypt.py.
I get this syntax error with python 2:

  File "firefox_decrypt.py", line 40
    LOG: logging.Logger
       ^
SyntaxError: invalid syntax

With Python 3:

Traceback (most recent call last):
  File "firefox_decrypt.py", line 46, in <module>
    PWStore = list[dict[str, str]]
TypeError: 'type' object is not subscriptable

Can you help ? Thanks

@unode
Copy link
Owner

unode commented Jun 9, 2021

Hi @procraste . Python 2 is no longer supported. As for Python 3, I suspect your version is not recent enough.

From the first line of the readme "As of 1.0.0 Python 3.9+ is required".

Does this help?

@procraste
Copy link
Author

Hi there,
i had 3.8 on my system ...
I installed python3.9 and it did the job.
Thank you for your help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants