Fix option typo

This commit is contained in:
Hugo 2017-05-14 12:08:39 +03:00
parent 82c51e4df9
commit bb7596d8b6

View File

@ -117,7 +117,7 @@ elif sys.platform == "darwin":
class MacViewer(Viewer):
format = "PNG"
options = {'compress-level': 1}
options = {'compress_level': 1}
def get_command(self, file, **options):
# on darwin open returns immediately resulting in the temp
@ -145,7 +145,7 @@ else:
class UnixViewer(Viewer):
format = "PNG"
options = {'compress-level': 1}
options = {'compress_level': 1}
def show_file(self, file, **options):
command, executable = self.get_command_ex(file, **options)