CLI music import fails
Running Funkwhale 0.1.6 on Arch linux without docker, installed following procedures in docs. Importing and playing music through the web interface works properly. When importing music thorugh the commandline with the command python api/manage.py import_files "/srv/funkwhale/data/music/**/*.mp3" --recursive --noinput
results in the following error:
(virtualenv) [funkwhale@archTower ~]$ python api/manage.py import_files "/srv/funkwhale/data/music/**/*.mp3" --recursive --noinput
Traceback (most recent call last):
File "api/manage.py", line 20, in <module>
execute_from_command_line(sys.argv)
File "/srv/funkwhale/virtualenv/lib/python3.7/site-packages/django/core/management/__init__.py", line 371, in execute_from_command_line
utility.execute()
File "/srv/funkwhale/virtualenv/lib/python3.7/site-packages/django/core/management/__init__.py", line 365, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/srv/funkwhale/virtualenv/lib/python3.7/site-packages/django/core/management/__init__.py", line 216, in fetch_command
klass = load_command_class(app_name, subcommand)
File "/srv/funkwhale/virtualenv/lib/python3.7/site-packages/django/core/management/__init__.py", line 36, in load_command_class
module = import_module('%s.management.commands.%s' % (app_name, name))
File "/usr/lib/python3.7/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 724, in exec_module
File "<frozen importlib._bootstrap_external>", line 860, in get_code
File "<frozen importlib._bootstrap_external>", line 791, in source_to_code
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/srv/funkwhale/api/funkwhale_api/providers/audiofile/management/commands/import_files.py", line 219
async = options["async"]
^
SyntaxError: invalid syntax
python api/manage.py import_files --help
results in the same error.
python api/manage.py check
reports no issues.
Did I miss a dependency during install?
Thank you in advance.