snowskeleton / snowcrypt

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

Add support for older python versions #8

Closed chrhasse closed 1 year ago

chrhasse commented 1 year ago

My Debian system is still running python 3.9, and unfortunately the | operator is not supported in type annotations by default until 3.10. adding from __future__ import annotations to main.py seems to fix it without breaking newer python versions.

snowskeleton commented 1 year ago

Thank you for bringing this to my attention. I have added the appropriate import.