'staticmethod' object is not callable
j4wshua opened this issue · comments
Describe the bug
moodle-dl crashes with the error message 'staticmethod' object is not callable
Steps to reproduce the issue
Run moodle-dl
Log with traceback: https://pastebin.com/MZv5p4Uh
Technical details
OS: Debian 5.10.162-1 x86_64 GNU/Linux
Moodle-DL Version: 2.3.0.0
Thank you for the report.
Mh, maybe it is a problem with python version 3.9, I will try to reproduce it.
Oh I think I found the problem. Python 3.9 really does not allow @staticmethod on a global methods. (it is also completely useless at that point, it was just a copy paste error, but python 3.10 seems to ignore it)
Please test the new release if it fixes the problem
Thank you very much for the quick reply! It works now :)