Fixed a typo.

This commit is contained in:
karxi 2016-12-22 17:30:29 -05:00
parent 8ae3c92231
commit c232872e13

View file

@ -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."