mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 10:36:52 -07:00
keep perms as int. Fixes #609
This commit is contained in:
parent
7b2c0c21ee
commit
7fa4784faf
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ def extract(filePath, outputDestination):
|
|||
if success:
|
||||
# sleep to let files finish writing to disk
|
||||
sleep (3)
|
||||
perms = oct(stat.S_IMODE(os.lstat(os.path.split(filePath)[0]).st_mode))
|
||||
perms = stat.S_IMODE(os.lstat(os.path.split(filePath)[0]).st_mode)
|
||||
for dir, subdirs, files in os.walk(outputDestination):
|
||||
for subdir in subdirs:
|
||||
if not os.path.join(dir, subdir) in origFiles:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue