snowskeleton / snowcrypt

Decrypt aax and aaxc files
Apache License 2.0
9 stars 1 forks source link

Error on python3.8 #9

Open Tim4497 opened 7 months ago

Tim4497 commented 7 months ago

When I try to use the tool with python 3.8 it throws:

Traceback (most recent call last):
  File "/Users/t.winkler/.pyenv/versions/3.8.17/bin/snowcrypt", line 5, in <module>
    from snowcrypt.main import main
  File "/Users/t.winkler/.pyenv/versions/3.8.17/lib/python3.8/site-packages/snowcrypt/main.py", line 67, in <module>
    activation_bytes: str | None = None,
TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'

It should specify the python version to use

snowskeleton commented 7 months ago

Try reinstalling fro pypi and running this again. It looks like I previously fixed this problem by adding

from __future__ import annotations

but never pushed it to pypi. I just pushed the change now.