blob: bde17b109f4e74c91fb7d42afbb0a12598d1dd06 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
From 7f507fcb139f19501d4f706098f24abc0be2d721 Mon Sep 17 00:00:00 2001
From: Didier Raboud <odyx@debian.org>
Date: Thu, 1 Sep 2016 11:18:27 +0200
Subject: Fix erroneous tabs in hpps python code, introduced in 3.16.8
---
prnt/filters/hpps | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/prnt/filters/hpps b/prnt/filters/hpps
index a882f85..e5f900c 100644
--- a/prnt/filters/hpps
+++ b/prnt/filters/hpps
@@ -191,11 +191,11 @@ if 'HPPinPrnt' in options and 'noHPPinPrnt' not in options:
msg("Setting Pin to default")
else:
szKeyInitials = ['HPFIDigit', 'HPSEDigit', 'HPTHDigit', 'HPFTDigit']
- for x in szKeyInitials:
+ for x in szKeyInitials:
try:
- secpin += opts[x]
+ secpin += opts[x]
except KeyError:
- secpin += '0'
+ secpin += '0'
os.write(output_fd, to_bytes_utf8('@PJL SET HOLDKEY="%s"\x0a' % secpin))
|