AlexandreSenpai / Enma

Enma is a Python library designed to fetch and download manga and doujinshi data from many sources including Manganato and NHentai.
MIT License
80 stars 16 forks source link

Error while import #27

Closed obezglavlen closed 2 years ago

obezglavlen commented 2 years ago

File "/usr/local/lib/python3.7/dist-packages/NHentai/nhentai.py", line 19 @Cache(max_age_seconds=3600, max_size=1000, cache_key_position=1, cache_key_name='id').cache ^ SyntaxError: invalid syntax

AlexandreSenpai commented 2 years ago

Because the code uses class method decorators to handle cache it only supports python 3.9 + Going to change it soon to support lower python versions.