Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix copy/paste error caught in read through of previous commit.

  • Loading branch information...
commit a4c00743eccb3e80c868bd0c1b2acb2f162f2ff3 1 parent d8b751e
@onyxfish authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  models/main.py
View
2  models/main.py
@@ -455,7 +455,7 @@ def _load_scanner_option_constraints(self, sane_device):
if sane_device.options['resolution'].type == saneme.OPTION_TYPE_FIXED:
temp_value_resolutions = [int(i) for i in sane_device.options['resolution'].constraint]
temp_value_resolutions = [saneme.SANE_UNFIX(i) for i in temp_value_resolutions]
- temp_value_resolutions = [str(i) for i in sane_device.options['resolution'].constraint]
+ temp_value_resolutions = [str(i) for i in temp_value_resolutions]
else:
temp_value_resolutions = sane_device.options['resolution'].constraint
Please sign in to comment.
Something went wrong with that request. Please try again.