comparison sat/plugins/plugin_xep_0198.py @ 3187:d92a144f3589

plugin download: use cache if dest_path is empty: if dest_path is not set, the file will be downloaded in cache. A new name will be generated using a hash of the uri. If the file is already downloded in cache, it won't be downloaded again (in this case returned progress_id is an empty string).
author Goffi <goffi@goffi.org>
date Wed, 26 Feb 2020 22:03:11 +0100
parents ca61807f724c
children be6d91572633
comparison
equal deleted inserted replaced
3186:84b0c8b4dee0 3187:d92a144f3589