Fix code to properly set page height

master
Sven Slootweg 12 years ago
parent 5f4a8ce7b3
commit 67c7f44dbf

@ -40,9 +40,9 @@ def init(**kwargs):
height = raw_input("[?] Height (mm)? [default: 295] ") height = raw_input("[?] Height (mm)? [default: 295] ")
if height == "": if height == "":
scanner.br_x = 295 scanner.br_y = 295
else: else:
scanner.br_x = int(height) scanner.br_y = int(height)
scanner.tl_x = 0 scanner.tl_x = 0
scanner.tl_y = 0 scanner.tl_y = 0

Loading…
Cancel
Save