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.'),
transient_for=app.app.get_active_window())
return
shutil.copy(str(preview.orig_path), target_path)
shutil.copyfile(str(preview.orig_path), target_path)
FileSaveDialog(on_ok,
path=app.config.get('last_save_dir'),
......
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