mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 18:47:09 -07:00
more fixes
This commit is contained in:
parent
eb0f21ae12
commit
4948b3c4c1
1 changed files with 2 additions and 1 deletions
|
@ -352,9 +352,10 @@ flatten(destination)
|
|||
for dirpath, dirnames, filenames in os.walk(destination):
|
||||
for file in filenames:
|
||||
file_path = os.path.join(dirpath, file)
|
||||
file_ext = os.path.splitext(file)
|
||||
file_ext = os.path.splitext(file)[1]
|
||||
if file_ext in video_files: #if the file is a video file.
|
||||
video2 = video2 + 1
|
||||
status = 0
|
||||
if video2 >= video: #check that all video files were moved.
|
||||
status = 0
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue