fixed exception that froze interface

This commit is contained in:
PageArkanis
2016-08-19 15:11:06 +01:00
parent d81a51bd8c
commit 9ace9815b6

View File

@@ -557,7 +557,7 @@ class FittingView(d.Display):
5: ''}
def slotColour(self, slot):
return self.slotColourMap[slot] or self.GetBackgroundColour()
return self.slotColourMap.get(slot) or self.GetBackgroundColour()
def refresh(self, stuff):
'''