tud-zih-energy/voice-annotation-tool

Bug in porject.py

AndreasGocht opened this issue · 0 comments

Obviously, there is still something a string, what should be a Path🙃.

Best,

Andreas

Traceback (most recent call last):

  File "C:\Users\Gocht\Documents\code\virtenv\python3.9\lib\site-packages\voice_annotation_tool\create_project_dialog.py", line 34, in accept
    project.set_audio_folder(self.audio_folder)

  File "C:\Users\Gocht\Documents\code\virtenv\python3.9\lib\site-packages\voice_annotation_tool\project.py", line 49, in set_audio_folder
    if not self.audio_folder.is_dir():

AttributeError: 'str' object has no attribute 'is_dir'