diff options
Diffstat (limited to 'voctogui')
-rw-r--r-- | voctogui/lib/__init__.py | 0 | ||||
-rw-r--r-- | voctogui/lib/connection.py | 4 | ||||
-rw-r--r-- | voctogui/lib/toolbar/__init__.py | 0 |
3 files changed, 2 insertions, 2 deletions
diff --git a/voctogui/lib/__init__.py b/voctogui/lib/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/voctogui/lib/__init__.py diff --git a/voctogui/lib/connection.py b/voctogui/lib/connection.py index 0df302a..6bece3d 100644 --- a/voctogui/lib/connection.py +++ b/voctogui/lib/connection.py @@ -67,11 +67,11 @@ def on_data(conn, _, leftovers, *args): except UnicodeDecodeError as e: continue - except BlockingIOError as e: + except: pass data = "".join(leftovers) - leftovers.clear() + del leftovers[:] lines = data.split('\n') for line in lines[:-1]: diff --git a/voctogui/lib/toolbar/__init__.py b/voctogui/lib/toolbar/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/voctogui/lib/toolbar/__init__.py |