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
I have discovered an issue with the install.py file when you try to create the config.ini
When config.ini already exists, but is either empty or doesn't contain the required headers, it can't continue and terminates the process.
with open('config.ini', 'r') as cfg: path = **config.get('Path of ffmpeg', 'path')**
config.get raises an error if the given section (e.g. Path of ffmpeg) doesn't exist.
This issue could be resolved with adding an exception-clause into the code block, since ConfigParser provides great error handlings by itself.
I'll delay this part of issue, since this code block is already redundant and will be replaced with a more efficient class.
The text was updated successfully, but these errors were encountered:
I have discovered an issue with the install.py file when you try to create the config.ini
When config.ini already exists, but is either empty or doesn't contain the required headers, it can't continue and terminates the process.
with open('config.ini', 'r') as cfg: path = **config.get('Path of ffmpeg', 'path')
**config.get raises an error if the given section (e.g. Path of ffmpeg) doesn't exist.
This issue could be resolved with adding an exception-clause into the code block, since ConfigParser provides great error handlings by itself.
I'll delay this part of issue, since this code block is already redundant and will be replaced with a more efficient class.
The text was updated successfully, but these errors were encountered: