Skip to content

Commit

Permalink
Try and recognise generated zip files
Browse files Browse the repository at this point in the history
 * Appears to solve problem addressed by PR #6
  • Loading branch information
ejn committed Apr 20, 2020
1 parent f760dcc commit 725af55
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion inspireatomclientdialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 725af55

Please sign in to comment.