diff --git a/inspireatomclientdialog.py b/inspireatomclientdialog.py index e8b366f..eea2519 100644 --- a/inspireatomclientdialog.py +++ b/inspireatomclientdialog.py @@ -709,7 +709,9 @@ def buildfilename(self, url): else: # TODO: use Mime-Type extension = "ext" - if url.lower().find("tif") > -1: + if url.lower().find("zip") > -1: + extension = "zip" + elif url.lower().find("tif") > -1: extension = "tiff" elif url.lower().find("gml") > -1: extension = "gml"