mirror of
https://github.com/python-escpos/python-escpos
synced 2025-10-03 09:19:59 +00:00
REFACTOR use new-style class for Escpos
This commit is contained in:
@@ -17,7 +17,7 @@ import time
|
|||||||
from constants import *
|
from constants import *
|
||||||
from exceptions import *
|
from exceptions import *
|
||||||
|
|
||||||
class Escpos:
|
class Escpos(object):
|
||||||
""" ESC/POS Printer object """
|
""" ESC/POS Printer object """
|
||||||
device = None
|
device = None
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user