mirror of
https://github.com/python-escpos/python-escpos
synced 2025-09-13 09:09:58 +00:00
remove bad quotes
This commit is contained in:
@@ -4,7 +4,7 @@ from escpos.printer import Usb
|
||||
|
||||
|
||||
def usage():
|
||||
print("usage: qr_code.py <content>")
|
||||
print('usage: qr_code.py <content>')
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
@@ -15,5 +15,5 @@ if __name__ == '__main__':
|
||||
content = sys.argv[1]
|
||||
|
||||
# Adapt to your needs
|
||||
p = Usb(0x0416, 0x5011, profile="POS-5890")
|
||||
p = Usb(0x0416, 0x5011, profile='POS-5890')
|
||||
p.qr(content, center=True)
|
||||
|
Reference in New Issue
Block a user