Commit 3d7d3e72 authored by André's avatar André Committed by Philipp Hörist

[preview] Only copy file, don't chmod

Fixes #479.
parent 76b9ef6b
......@@ -502,7 +502,7 @@ class UrlImagePreviewPlugin(GajimPlugin):
'create files in this directory.'),
shutil.copy(str(preview.orig_path), target_path)
shutil.copyfile(str(preview.orig_path), target_path)
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