diff --git a/url_image_preview/url_image_preview.py b/url_image_preview/url_image_preview.py index 4113c50..a5eda37 100644 --- a/url_image_preview/url_image_preview.py +++ b/url_image_preview/url_image_preview.py @@ -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'),