diff options
author | hut <hut@lavabit.com> | 2010-04-16 01:05:52 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-04-16 01:05:52 +0200 |
commit | f8e3b704d2f468336e8efc93f50c268b992a1ed1 (patch) | |
tree | 30b409d1334df43d4b59a967c1d4c186a00ad573 /ranger | |
parent | f97a310b32e4975777b83cbe54755d4b4268b8a6 (diff) | |
download | ranger-f8e3b704d2f468336e8efc93f50c268b992a1ed1.tar.gz |
console: bugfix
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/gui/widgets/console.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/gui/widgets/console.py b/ranger/gui/widgets/console.py index 35e0b844..c81c66b5 100644 --- a/ranger/gui/widgets/console.py +++ b/ranger/gui/widgets/console.py @@ -118,7 +118,7 @@ class Console(Widget): if prompt is not None: assert isinstance(prompt, str) self.prompt = prompt - elif hasattr(self, 'prompt'): + elif 'prompt' in self.__dict__: del self.prompt cls = mode_to_class(mode) |