You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Regarding this, as of python 3.12.0, f-strings support nested apostrophe characters. so you need to update your python version to 3.12.x or higher. but since its a new version and a lot of other codes might still have some issues with it, I'll just roll back the f-string changes to previous structure. Don't forget to update the code!!!!
D:\Github\Merge-image>python cli.py merge -folder "Merged\CH (1)" -fit
Traceback (most recent call last):
File "D:\Github\Merge-image\cli.py", line 86, in
from utils.image_merger import merge_folder
File "D:\Github\Merge-image\utils\image_merger.py", line 42
copy2(list_to_merge[0].filename, f'{path_to_destination}/{index+1:03d}.{list_to_merge[0].filename.split('.')[-1]}')
^
SyntaxError: f-string: unmatched '('
The text was updated successfully, but these errors were encountered: