bindestriche / srt_fix

yt-autosub-srt-fix a yt-dlp plugin to fix double lines of youtube subtitles converted to srt via ffmpeg
The Unlicense
32 stars 5 forks source link

AttributeError: module 'os' has no attribute 'oath'. Did you mean: 'path'? #7

Closed profucius closed 7 months ago

profucius commented 9 months ago

I've downloaded and ran the srt_fixer_cli.py on a subtitle file. I then get the error AttributeError: module 'os' has no attribute 'oath'. Did you mean: 'path'? referencing lines 72 and 74. I believe this may be a typo, the oath should be path. Once I changed both those oath to path, saved the file and ran the script again, it successfully converts the subtitle with no errors.

image

bindestriche commented 9 months ago

Thanks you foe talking the time to write all these Reports. Indeed, it should be Join path. Odd how I missed this.

I've downloaded and ran the srt_fixer_cli.py on a subtitle file. I then get the error AttributeError: module 'os' has no attribute 'oath'. Did you mean: 'path'? referencing lines 72 and 74. I believe this may be a typo, the oath should be path. Once I changed those, saved the file and ran the script again, it successfully converts the subtitle with no errors.

image.png (view on web) https://github.com/bindestriche/srt_fix/assets/18254607/9f4812d2-11cd-42db-925f-bff2e5dd138a

— Reply to this email directly, view it on GitHub https://github.com/bindestriche/srt_fix/issues/7, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATZWN6UUC22FPB55GFOYXV3YJXELDAVCNFSM6AAAAABAXWEKDSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA2DIOBUG4ZDAOA . You are receiving this because you are subscribed to this thread.Message ID: @.***>