mirror of
https://github.com/robweber/xbmcbackup.git
synced 2024-11-15 04:45:49 +01:00
filter out zipped files (caused errors)
This commit is contained in:
parent
bc9cc7d345
commit
ce7a2acb90
@ -48,7 +48,7 @@ def walk(path):
|
|||||||
current_dirs, current_files = [], []
|
current_dirs, current_files = [], []
|
||||||
|
|
||||||
for x in listdir(current_path, extra_metadata=True):
|
for x in listdir(current_path, extra_metadata=True):
|
||||||
|
if not x['file'].startswith("zip://"):
|
||||||
if x['filetype'] == 'directory':
|
if x['filetype'] == 'directory':
|
||||||
|
|
||||||
current_dirs.append(x['file'])
|
current_dirs.append(x['file'])
|
||||||
|
Loading…
Reference in New Issue
Block a user