Skip to content
Permalink
Browse files

Simplify python console init text

  • Loading branch information
NathanW2 committed Sep 12, 2014
1 parent 3903f36 commit 380baa2f0c6bd5ddaca2f07da91aff5a1dda0644
Showing with 3 additions and 3 deletions.
  1. +3 −3 python/console/console_output.py
@@ -140,9 +140,9 @@ def __init__(self, parent=None):

def insertInitText(self):
txtInit = QCoreApplication.translate("PythonConsole",
"Python {0} on {1}\n"
"## Type help(iface) for more info and list of methods.\n").format(sys.version,
socket.gethostname())
"Python Console \n"
"Use iface to access QGIS API interface or Type help(iface) for more info")

## some translation string for the console header ends without '\n'
## and the first command in console will be appended at the header text.
## The following code add a '\n' at the end of the string if not present.

0 comments on commit 380baa2

Please sign in to comment.
You can’t perform that action at this time.