From 67c7f44dbf2cc0e53978d4885c9cb8a7c284e688 Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Wed, 24 Oct 2012 12:30:23 +0200 Subject: [PATCH] Fix code to properly set page height --- scantools/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scantools/__init__.py b/scantools/__init__.py index 1b76900..fae9dd0 100644 --- a/scantools/__init__.py +++ b/scantools/__init__.py @@ -40,9 +40,9 @@ def init(**kwargs): height = raw_input("[?] Height (mm)? [default: 295] ") if height == "": - scanner.br_x = 295 + scanner.br_y = 295 else: - scanner.br_x = int(height) + scanner.br_y = int(height) scanner.tl_x = 0 scanner.tl_y = 0