From 1c7df31866dc30c3bb6a7ae2c8193ccd329b6a16 Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Tue, 14 Apr 2009 10:45:01 +1000 Subject: [PATCH] Another oops --- mitterlib/ui/ui_zork.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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")'