skip season folder if exists
This commit is contained in:
parent
1ebdea7b13
commit
0e14c2b7c5
|
@ -125,6 +125,7 @@ class Show:
|
|||
for year in all_expected:
|
||||
if year not in all_existing:
|
||||
path: str = os.path.join(base, channel_name, year)
|
||||
if not os.path.exists(path):
|
||||
os.mkdir(path)
|
||||
folders.append(path)
|
||||
|
||||
|
|
Loading…
Reference in New Issue