Fix normal reboot

This commit is contained in:
Ian Gulliver
2016-05-11 20:33:54 +00:00
parent ed1a3008ed
commit 73f7087b1f

View File

@@ -128,7 +128,7 @@ class Client(threadedclient.WebSocketClient):
self._OnReboot(data)
def _OnReboot(self, data):
if data['timestamp']:
if 'timestamp' in data:
fetch = self._GetFetcher()
fetch.Fetch(data['timestamp'])
self._UpdateGrub()