parent
1e53720b54
commit
a02ef70607
|
@ -2,6 +2,7 @@
|
||||||
Message encoding end decoding functions
|
Message encoding end decoding functions
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
import string
|
||||||
import zlib
|
import zlib
|
||||||
|
|
||||||
import messagetypes
|
import messagetypes
|
||||||
|
|
|
@ -11,6 +11,7 @@ import select
|
||||||
import socket
|
import socket
|
||||||
import sys
|
import sys
|
||||||
import time
|
import time
|
||||||
|
import warnings
|
||||||
from errno import (
|
from errno import (
|
||||||
EADDRINUSE, EAGAIN, EALREADY, EBADF, ECONNABORTED, ECONNREFUSED,
|
EADDRINUSE, EAGAIN, EALREADY, EBADF, ECONNABORTED, ECONNREFUSED,
|
||||||
ECONNRESET, EHOSTUNREACH, EINPROGRESS, EINTR, EINVAL, EISCONN, ENETUNREACH,
|
ECONNRESET, EHOSTUNREACH, EINPROGRESS, EINTR, EINVAL, EISCONN, ENETUNREACH,
|
||||||
|
|
|
@ -3,6 +3,7 @@ Track randomize ordered dict
|
||||||
"""
|
"""
|
||||||
from threading import RLock
|
from threading import RLock
|
||||||
from time import time
|
from time import time
|
||||||
|
from binascii import hexlify
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import helper_random
|
import helper_random
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
"""
|
"""
|
||||||
Sqlite Inventory
|
Sqlite Inventory
|
||||||
"""
|
"""
|
||||||
|
import sqlite3
|
||||||
import time
|
import time
|
||||||
from threading import RLock
|
from threading import RLock
|
||||||
|
|
||||||
|
|
|
@ -42,7 +42,7 @@ def translateText(context, text, n=None):
|
||||||
enableGUI = True
|
enableGUI = True
|
||||||
if enableGUI:
|
if enableGUI:
|
||||||
try:
|
try:
|
||||||
from PyQt6 import QtWidgets
|
from PyQt6 import QtCore, QtGui, QtWidgets
|
||||||
except Exception as err:
|
except Exception as err:
|
||||||
print('PyBitmessage requires PyQt unless you want to run it as a daemon'
|
print('PyBitmessage requires PyQt unless you want to run it as a daemon'
|
||||||
' and interact with it using the API.'
|
' and interact with it using the API.'
|
||||||
|
|
Reference in New Issue
Block a user