From 9ff327d967d410ecae4054cc287a90a56d95fb2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benito=20L=C3=B3pez?= Date: Sun, 23 Jul 2023 23:22:27 +0200 Subject: [PATCH] Remove sleep when quering status. Fixes #407 (#534) * Remove sleep when quering status * Remove unused import time --- src/escpos/escpos.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/escpos/escpos.py b/src/escpos/escpos.py index fbb3618..4dbe08e 100644 --- a/src/escpos/escpos.py +++ b/src/escpos/escpos.py @@ -14,7 +14,6 @@ This module contains the abstract base class :py:class:`Escpos`. import qrcode import textwrap import six -import time from re import match as re_match import barcode @@ -1174,7 +1173,6 @@ class Escpos(object): :rtype: array(integer) """ self._raw(mode) - time.sleep(1) status = self._read() return status