Merge branch 'master' into rename_and_move

This commit is contained in:
2017-06-28 00:03:04 +02:00
committed by GitHub
2 changed files with 9 additions and 5 deletions

View File

@@ -38,6 +38,7 @@ class episode(object):
url = '/'.join(self.queries[dType])
if create and not os.path.isdir(url):
os.makedirs(url)
fix_ownership(url)
if mergeItem:
return '/'.join([url, str(mergeItem)])
return url
@@ -94,4 +95,3 @@ if __name__ == '__main__':
print('Logfile could not be found at ' + env.logfile + '. Verifiy presence or disable logging in config.')
moveStray(sys.argv[-1])