* Remove sleep when quering status * Remove unused import time
This commit is contained in:
parent
e9e8b10582
commit
9ff327d967
|
@ -14,7 +14,6 @@ This module contains the abstract base class :py:class:`Escpos`.
|
||||||
import qrcode
|
import qrcode
|
||||||
import textwrap
|
import textwrap
|
||||||
import six
|
import six
|
||||||
import time
|
|
||||||
from re import match as re_match
|
from re import match as re_match
|
||||||
|
|
||||||
import barcode
|
import barcode
|
||||||
|
@ -1174,7 +1173,6 @@ class Escpos(object):
|
||||||
:rtype: array(integer)
|
:rtype: array(integer)
|
||||||
"""
|
"""
|
||||||
self._raw(mode)
|
self._raw(mode)
|
||||||
time.sleep(1)
|
|
||||||
status = self._read()
|
status = self._read()
|
||||||
return status
|
return status
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue