Skip to content

Commit

Permalink
Fixed .svgz files not loading
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyre221 authored Nov 25, 2023
1 parent cdfde13 commit e447a57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion page_viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def load_file(self, path, extension):
self.qpage.loadImages([path])
self.qpage.setViewMode(qpageview.FitBoth)
self.__file_loaded__()
elif extension in [".svg"]:
elif extension in [".svg",".svgz"]:
self.qpage.loadSvgs([path])
self.qpage.setViewMode(qpageview.FitBoth)
self.__file_loaded__()
Expand Down

0 comments on commit e447a57

Please sign in to comment.