Skip to content

Commit 36e1b3b

Browse files
committedJun 15, 2013
Fix python console for Python 2.6
1 parent 5cbfe07 commit 36e1b3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎python/console/console_output.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def __init__(self, parent=None):
133133

134134
def insertInitText(self):
135135
txtInit = QCoreApplication.translate("PythonConsole",
136-
"Python {} on {}\n"
136+
"Python {0} on {1}\n"
137137
"## Type help(iface) for more info and list of methods.\n".format(sys.version, socket.gethostname()))
138138
initText = self.setText(txtInit)
139139

0 commit comments

Comments
 (0)