MichaelYochpaz/iSubRip

[Issue]: When the logs folder is deleted, the script does not create another one automatically

rDamascena opened this issue · 2 comments

Confirmations

  • I have checked the issues tab, and couldn't find an existing open issue for the issue I want to report.

OS Type

Windows

Python Version

3.10.11

Package Version

2.5.3

Description

When the logs folder is deleted, the script does not create another one automatically and returns an error.

I updated the script, deleted the configuration file and the old logs folder and it returned the error mentioned, which is fixed by creating a logs folder manually.

Output Log

$ isubrip "https://tv.apple.com/tr/movie/sisu/umc.cmc.3mw4pbau8v6o6bxcujlnqz1r"
Error: [Errno 2] No such file or directory: 'C:\\Users\\Adriana\\.isubrip\\logs\\isubrip_2024-04-11_12-51-37.log'

Config

No response

Hey, thank you for reporting :)
Pushed a fix on e542923, which will be included in the next version release.

The fix is included in the latest v2.5.4 release.