Fixed a typo.
This commit is contained in:
parent
8ae3c92231
commit
c232872e13
1 changed files with 2 additions and 2 deletions
|
@ -124,12 +124,12 @@ class ConsoleWindow(QtGui.QDialog):
|
||||||
"MAINWIN": self.mainwindow,
|
"MAINWIN": self.mainwindow,
|
||||||
"PCONFIG": self.mainwindow.config
|
"PCONFIG": self.mainwindow.config
|
||||||
}
|
}
|
||||||
_CUSTOM_ENV_USE = []
|
_CUSTOM_ENV_USED = []
|
||||||
cenv = pchum.__dict__
|
cenv = pchum.__dict__
|
||||||
for k in _CUSTOM_ENV:
|
for k in _CUSTOM_ENV:
|
||||||
if k not in cenv:
|
if k not in cenv:
|
||||||
cenv[k] = _CUSTOM_ENV[k]
|
cenv[k] = _CUSTOM_ENV[k]
|
||||||
_CUSTOM_ENV_USE.append(k)
|
_CUSTOM_ENV_USED.append(k)
|
||||||
else:
|
else:
|
||||||
# Don't overwrite anything!
|
# Don't overwrite anything!
|
||||||
warn = "Console environment item {!r} already exists in CENV."
|
warn = "Console environment item {!r} already exists in CENV."
|
||||||
|
|
Loading…
Reference in a new issue