diff --git a/twander.py b/twander.py index df83b37..c2db775 100755 --- a/twander.py +++ b/twander.py @@ -6,7 +6,7 @@ # Program Information PROGNAME = "twander" -RCSID = "$Id: twander.py,v 3.145 2004/03/11 09:34:44 tundra Exp $" +RCSID = "$Id: twander.py,v 3.146 2004/03/11 09:46:08 tundra Exp $" VERSION = RCSID.split()[2] # Copyright Information @@ -3149,7 +3149,7 @@ # a display refresh after the command returns do_refresh_after = False - if newcmd[0] == REFRESHAFTER: + if newcmd and newcmd[0] == REFRESHAFTER: newcmd = newcmd[len(REFRESHAFTER):] do_refresh_after = True