Private GIT

Skip to content
Snippets Groups Projects
Commit 6cc87ae2 authored by Luca's avatar Luca
Browse files

Merge branch 'Pistachitos' of https://github.com/mr-orange/Sick-Beard into ThePirateBay

parents 2bf0821d 429b328d
No related branches found
No related tags found
No related merge requests found
...@@ -70,11 +70,11 @@ def processDir (dirName, nzbName=None, recurse=False): ...@@ -70,11 +70,11 @@ def processDir (dirName, nzbName=None, recurse=False):
else: else:
path, dirs = ek.ek(os.path.split, dirName) #Script Post Processing path, dirs = ek.ek(os.path.split, dirName) #Script Post Processing
if not nzbName is None and not nzbName.endswith('.nzb') and os.path.isfile(os.path.join(dirName, nzbName)): #For single torrent file without Dir if not nzbName is None and not nzbName.endswith('.nzb') and os.path.isfile(os.path.join(dirName, nzbName)): #For single torrent file without Dir
files = [os.path.join(dirName, nzbName)]
dirs = [] dirs = []
files = [os.path.join(dirName, nzbName)]
else: else:
files = ek.ek(os.listdir, dirName)
dirs = [dirs] dirs = [dirs]
files = []
videoFiles = filter(helpers.isMediaFile, files) videoFiles = filter(helpers.isMediaFile, files)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment