From 40b5b80cefae3b5a5686713210ca23d5458babb3 Mon Sep 17 00:00:00 2001 From: Yorick Date: Wed, 9 Dec 2015 11:33:13 +0100 Subject: [PATCH] Use os.path.join() in list_file() --- export-video.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/export-video.py b/export-video.py index 6fcb6a3..c3e7dfd 100755 --- a/export-video.py +++ b/export-video.py @@ -94,7 +94,7 @@ def list_file(directory, pattern, recursive): if os.path.isdir(directory + "/" + i) and recursive: logging.info('directory found : %s', i) files_list.extend(list_file( - directory + "/" + i, + os.path.join(directory, i), pattern, recursive ))