Remove sleep when quering status. Fixes #407 (#534)

* Remove sleep when quering status
* Remove unused import time
This commit is contained in:
Benito López 2023-07-23 23:22:27 +02:00 committed by GitHub
parent e9e8b10582
commit 9ff327d967
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -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