Topic: dz.add_dropbar causing Dropzone to crash
I'm trying to add a bit of code to the YouTube Downloader that will add the newly created file to the dropbar. However, when I add dz.add_dropbar to the code, Dropzone crashes each time. I've made sure that the file exists at the specified pathway. I've also tested it with a few different file types. I logged the message to a file so I could see the error since it causes the whole program to crash and I therefore can't view the debugger. The error is:
EOF when reading a line
Here is a snippet of the code I've added that causes the error:
file_paths = [os.path.abspath('~') + "test_file.m4a"]
I can't figure out why it's throwing an EOF error.