diff --git a/mitterlib/ui/ui_zork.py b/mitterlib/ui/ui_zork.py index 591389f..c2bd56d 100644 --- a/mitterlib/ui/ui_zork.py +++ b/mitterlib/ui/ui_zork.py @@ -55,8 +55,10 @@ class Interface(cmd.Cmd): except NetworksNoNetworkSetupError: # call the config self.do_config() + return except NetworkError: print 'Network failure. Try again in a few minutes.' + return data.reverse() self._messages.extend(data) @@ -84,7 +86,7 @@ class Interface(cmd.Cmd): print 'You are in the top of the list.' print return - self.cursor -= 1 + self._cursor -= 1 else: print 'Display WHAT?' print '("current", "previous" or "next")'