eliminate semicolons
This commit is contained in:
parent
8c2701c53b
commit
bc254a935e
|
@ -1221,7 +1221,7 @@ class MyForm(settingsmixin.SMainWindow):
|
|||
# create application indicator
|
||||
def appIndicatorInit(self, 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()
|
||||
|
||||
|
|
|
@ -102,7 +102,7 @@ class ObjectTracker(object):
|
|||
|
||||
def handleReceivedObject(self, streamNumber, hashid):
|
||||
"""Handling received object"""
|
||||
hashid_bytes = bytes(hashid);
|
||||
hashid_bytes = bytes(hashid)
|
||||
for i in connectionpool.pool.connections():
|
||||
if not i.fullyEstablished:
|
||||
continue
|
||||
|
|
|
@ -41,7 +41,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.'
|
||||
|
|
Reference in New Issue
Block a user