robbyHuelsi / macOSVoiceMemosExporter

Export audio files from macOS Voice Memos App with right filename and date created
30 stars 7 forks source link

Syntax Error #1

Open iiljazi opened 2 years ago

iiljazi commented 2 years ago

Hi, First of all this looks like a great tool as I'm looking to extract the accurate creation time of some voice memos that reflect accurately across my cloud devices but not on my mac. When I run the tool, I get the following syntax error:

$ python main.py --db_path ~/Desktop/Voice\ Recordings/CloudRecordings.db --all --export_path ~/Desktop/file --date_in_name --date_in_name_format "%Y-%m-%d " File "main.py", line 177 print(body_row((date_str, duration_str, path_old_short, path_new_short, "Export?")), end="\r") ^ SyntaxError: invalid syntax

iiljazi commented 2 years ago

Hi, I was actually able to mod that line and it did the trick:

-print(body_row((date_str, duration_str, path_old_short, path_new_short, "Export?")), end="\r") +print(body_row((date_str, duration_str, path_old_short, path_new_short, "Export?")))

Hope this helps someone else. Again thanks so much for this solution saved me loads of time!

robbyHuelsi commented 2 years ago

Hi, glad to hear you like this small tool.

Which version of python do you use? (python --version)