Closed X-Gorn closed 2 years ago
IDK what happen..
Logs: 2022-05-06T00:36:50.902540+00:00 app[worker.1]: File "/app/helper_funcs/nhentai.py", line 1, in 2022-05-06T00:36:50.902540+00:00 app[worker.1]: from NHentai import NHentaiAsync 2022-05-06T00:36:50.902541+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/NHentai/init.py", line 4, in 2022-05-06T00:36:50.902541+00:00 app[worker.1]: from . import nhentai 2022-05-06T00:36:50.902541+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/NHentai/nhentai.py", line 19 2022-05-06T00:36:50.902542+00:00 app[worker.1]: @Cache(max_age_seconds=3600, max_size=1000, cache_key_position=1, cache_key_name='id').cache 2022-05-06T00:36:50.902542+00:00 app[worker.1]: ^ 2022-05-06T00:36:50.902542+00:00 app[worker.1]: SyntaxError: invalid syntax
Updated python to 3.9.10 and worked.
IDK what happen..
Logs: 2022-05-06T00:36:50.902540+00:00 app[worker.1]: File "/app/helper_funcs/nhentai.py", line 1, in
2022-05-06T00:36:50.902540+00:00 app[worker.1]: from NHentai import NHentaiAsync
2022-05-06T00:36:50.902541+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/NHentai/init.py", line 4, in
2022-05-06T00:36:50.902541+00:00 app[worker.1]: from . import nhentai
2022-05-06T00:36:50.902541+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/NHentai/nhentai.py", line 19
2022-05-06T00:36:50.902542+00:00 app[worker.1]: @Cache(max_age_seconds=3600, max_size=1000, cache_key_position=1, cache_key_name='id').cache
2022-05-06T00:36:50.902542+00:00 app[worker.1]: ^
2022-05-06T00:36:50.902542+00:00 app[worker.1]: SyntaxError: invalid syntax