fix_tabs.patch 599 B

1234567891011121314151617
  1. --- prnt/filters/hpps 2016-08-26 12:04:29.000000000 +0200
  2. +++ prnt/filters/hpps.new 2016-08-31 21:19:57.868640372 +0200
  3. @@ -191,11 +191,11 @@
  4. msg("Setting Pin to default")
  5. else:
  6. szKeyInitials = ['HPFIDigit', 'HPSEDigit', 'HPTHDigit', 'HPFTDigit']
  7. - for x in szKeyInitials:
  8. + for x in szKeyInitials:
  9. try:
  10. - secpin += opts[x]
  11. + secpin += opts[x]
  12. except KeyError:
  13. - secpin += '0'
  14. + secpin += '0'
  15. os.write(output_fd, to_bytes_utf8('@PJL SET HOLDKEY="%s"\x0a' % secpin))