Skip to content
Snippets Groups Projects
Commit 3d7d3e72 authored by André's avatar André Committed by Philipp Hörist
Browse files

[preview] Only copy file, don't chmod

Fixes #479.
parent 76b9ef6b
No related branches found
No related tags found
1 merge request!187[preview] Only copy file, don't chmod
......@@ -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'),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment