hood: Fix crash when skipping Tutorial. Fixes #66
This commit is contained in:
parent
075f6857fd
commit
a37dc9946e
1 changed files with 5 additions and 4 deletions
|
@ -264,6 +264,7 @@ class QuietZoneState(StateData.StateData):
|
||||||
self.fsm.request('waitForSetZoneResponse')
|
self.fsm.request('waitForSetZoneResponse')
|
||||||
|
|
||||||
def gotZoneRedirect(self, zoneId):
|
def gotZoneRedirect(self, zoneId):
|
||||||
|
if hasattr(self, 'fsm'):
|
||||||
self.notify.info('Redirecting to zone %s.' % zoneId)
|
self.notify.info('Redirecting to zone %s.' % zoneId)
|
||||||
base.cr.handlerArgs['zoneId'] = zoneId
|
base.cr.handlerArgs['zoneId'] = zoneId
|
||||||
base.cr.handlerArgs['hoodId'] = ZoneUtil.getHoodId(zoneId)
|
base.cr.handlerArgs['hoodId'] = ZoneUtil.getHoodId(zoneId)
|
||||||
|
|
Loading…
Reference in a new issue