eliminate semicolons
This commit is contained in:
parent
8c2701c53b
commit
bc254a935e
|
@ -1221,7 +1221,7 @@ class MyForm(settingsmixin.SMainWindow):
|
||||||
# create application indicator
|
# create application indicator
|
||||||
def appIndicatorInit(self, app):
|
def appIndicatorInit(self, app):
|
||||||
self.initTrayIcon("can-icon-24px-red.png", app)
|
self.initTrayIcon("can-icon-24px-red.png", app)
|
||||||
self.tray.activated.connect(self.__icon_activated);
|
self.tray.activated.connect(self.__icon_activated)
|
||||||
|
|
||||||
m = QtWidgets.QMenu()
|
m = QtWidgets.QMenu()
|
||||||
|
|
||||||
|
|
|
@ -102,7 +102,7 @@ class ObjectTracker(object):
|
||||||
|
|
||||||
def handleReceivedObject(self, streamNumber, hashid):
|
def handleReceivedObject(self, streamNumber, hashid):
|
||||||
"""Handling received object"""
|
"""Handling received object"""
|
||||||
hashid_bytes = bytes(hashid);
|
hashid_bytes = bytes(hashid)
|
||||||
for i in connectionpool.pool.connections():
|
for i in connectionpool.pool.connections():
|
||||||
if not i.fullyEstablished:
|
if not i.fullyEstablished:
|
||||||
continue
|
continue
|
||||||
|
|
|
@ -41,7 +41,7 @@ def translateText(context, text, n=None):
|
||||||
enableGUI = True
|
enableGUI = True
|
||||||
if enableGUI:
|
if enableGUI:
|
||||||
try:
|
try:
|
||||||
from PyQt6 import QtCore, QtGui, QtWidgets
|
from PyQt6 import 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