aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/NimManager.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Components/NimManager.py')
-rw-r--r--lib/python/Components/NimManager.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/python/Components/NimManager.py b/lib/python/Components/NimManager.py
index dfc5aec6..1ad4c229 100644
--- a/lib/python/Components/NimManager.py
+++ b/lib/python/Components/NimManager.py
@@ -488,10 +488,16 @@ class NimManager:
def getNimType(self, slotID):
if slotID >= self.nimCount:
- return "empty/unknown"
+ return self.nimType["empty/unknown"]
else:
return self.nimType[self.nimTypes[slotID]]
+ def getNimTypeName(self, slotID):
+ if slotID >= self.nimCount:
+ return "empty/unknown"
+ else:
+ return self.nimTypes[slotID]
+
def getNimName(self, slotID):
return self.nimNames[slotID]