Commit e29e35ff authored by Bernhard Geier's avatar Bernhard Geier

set permission on downloaded files to 644

parent 1089f42c
...@@ -275,4 +275,6 @@ for hit in result['hits']: ...@@ -275,4 +275,6 @@ for hit in result['hits']:
# done # done
os.rename(showInfo['filepath']+".part", showInfo['filepath']) os.rename(showInfo['filepath']+".part", showInfo['filepath'])
os.chmod(showInfo['filepath'], 0o644)
print("done.", flush=True) print("done.", flush=True)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment