Updated code quality print space, removed not required backslash & indentation changes in tr.py
This commit is contained in:
parent
6e785b61c3
commit
fb3de9936c
10
src/tr.py
10
src/tr.py
|
@ -43,11 +43,11 @@ def translateText(context, text, n=None):
|
||||||
try:
|
try:
|
||||||
from PyQt4 import QtCore, QtGui
|
from PyQt4 import QtCore, QtGui
|
||||||
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.'
|
||||||
' You can download PyQt from http://www.riverbankcomputing.com/software/pyqt/download'\
|
' You can download PyQt from http://www.riverbankcomputing.com/software/pyqt/download'
|
||||||
' or by searching Google for \'PyQt Download\'.'\
|
' or by searching Google for \'PyQt Download\'.'
|
||||||
' If you want to run in daemon mode, see https://bitmessage.org/wiki/Daemon')
|
' If you want to run in daemon mode, see https://bitmessage.org/wiki/Daemon')
|
||||||
print('Error message:', err)
|
print('Error message:', err)
|
||||||
os._exit(0) # pylint: disable=protected-access
|
os._exit(0) # pylint: disable=protected-access
|
||||||
if n is None:
|
if n is None:
|
||||||
|
|
Reference in New Issue
Block a user