more work on making windows paths work

This commit is contained in:
Froghut 2023-08-23 18:13:31 +02:00 committed by GitHub
parent 25ae9bde60
commit 8026ba349d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ class Show:
return None
base: str = get_config()["ta_video_path"]
channel_folder = os.path.split(os.path.split(jf_ep["Path"])[0])[-1]
channel_folder = os.path.split(os.path.split(jf_ep["Path"].replace("\\","/"))[0])[-1]
season_folder = os.path.join(base, channel_folder, expected_season)
os.makedirs(season_folder)
self._wait_for_season(expected_season)