project-a / bingads-performance-downloader

A script for downloading performance from BingAds API
MIT License
10 stars 9 forks source link

SyntaxError in cli.py #19

Closed svmunster closed 4 years ago

svmunster commented 4 years ago

Thanks for all the hard work you put into this. I'm getting an SyntaxError when running download-bingsads-performance-data:

Traceback (most recent call last):
  File "/home/sven/.local/bin/download-bingsads-performance-data", line 5, in <module>
    from bingads_downloader.cli import download_data
  File "/home/sven/.local/lib/python3.5/site-packages/bingads_downloader/cli.py", line 15
    help=f'{config_function.__doc__}. Default: "{config_function()}"')(function)
                                                                    ^
SyntaxError: invalid syntax

Tried some basic things, but no result. Any suggestion what is going wrong?

martin-loetzsch commented 4 years ago

What version of Python are you using?

svmunster commented 4 years ago

Fixed this one, it indeed had to do with the python version. Running from a venv solved it.