diff --git a/src/helper_msgcoding.py b/src/helper_msgcoding.py index 9c2652d6..401b0e20 100644 --- a/src/helper_msgcoding.py +++ b/src/helper_msgcoding.py @@ -2,7 +2,6 @@ Message encoding end decoding functions """ -import string import zlib import messagetypes diff --git a/src/network/asyncore_pollchoose.py b/src/network/asyncore_pollchoose.py index c8b9e364..081efcf2 100644 --- a/src/network/asyncore_pollchoose.py +++ b/src/network/asyncore_pollchoose.py @@ -11,7 +11,6 @@ import select import socket import sys import time -import warnings from errno import ( EADDRINUSE, EAGAIN, EALREADY, EBADF, ECONNABORTED, ECONNREFUSED, ECONNRESET, EHOSTUNREACH, EINPROGRESS, EINTR, EINVAL, EISCONN, ENETUNREACH, diff --git a/src/randomtrackingdict.py b/src/randomtrackingdict.py index 1435180a..0944da2a 100644 --- a/src/randomtrackingdict.py +++ b/src/randomtrackingdict.py @@ -3,7 +3,6 @@ Track randomize ordered dict """ from threading import RLock from time import time -from binascii import hexlify try: import helper_random diff --git a/src/storage/sqlite.py b/src/storage/sqlite.py index 38d9fd95..4dae1ac3 100644 --- a/src/storage/sqlite.py +++ b/src/storage/sqlite.py @@ -1,7 +1,6 @@ """ Sqlite Inventory """ -import sqlite3 import time from threading import RLock diff --git a/src/tr.py b/src/tr.py index f26dcdff..a0cbf1a0 100644 --- a/src/tr.py +++ b/src/tr.py @@ -42,7 +42,7 @@ def translateText(context, text, n=None): enableGUI = True if enableGUI: try: - from PyQt6 import QtCore, QtGui, QtWidgets + from PyQt6 import QtWidgets except Exception as err: print('PyBitmessage requires PyQt unless you want to run it as a daemon' ' and interact with it using the API.'