kommentareinrueckung...
This commit is contained in:
parent
28b19e319d
commit
a7817c86df
1 changed files with 5 additions and 4 deletions
|
@ -11,6 +11,7 @@ from matrix_client.client import MatrixClient
|
||||||
conn = cups.Connection()
|
conn = cups.Connection()
|
||||||
printers = conn.getPrinters()
|
printers = conn.getPrinters()
|
||||||
|
|
||||||
|
|
||||||
# formatiert uns hex in der notation 0x0000
|
# formatiert uns hex in der notation 0x0000
|
||||||
def padhexa(s):
|
def padhexa(s):
|
||||||
return '0x' + s[2:].zfill(4)
|
return '0x' + s[2:].zfill(4)
|
||||||
|
|
Loading…
Reference in a new issue