imagebot icon indicating copy to clipboard operation
imagebot copied to clipboard

clear.py SyntaxError

Open V3lvetStorm opened this issue 4 years ago • 0 comments

Every time the script is launced it raises a SyntaxError. I checked on multiple devices with different OS and different Python versions (3.8, 3.9, 3.10).

Here is with virtualenv on 3.8

Traceback (most recent call last):
  File "C:\Users\xstre\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Users\xstre\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "C:\Users\xstre\python3.8\Scripts\imagebot.exe\__main__.py", line 4, in <module>
  File "C:\Users\xstre\python3.8\lib\site-packages\imagebot\main.py", line 11, in <module>
    from imagebot.clear import clear_cache, clear_db, clear_duplicate_images
  File "C:\Users\xstre\python3.8\lib\site-packages\imagebot\clear.py", line 28
    print ose.message
    ^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?

V3lvetStorm avatar Jan 26 '22 08:01 V3lvetStorm