diff options
Diffstat (limited to 'libbe/command')
-rw-r--r-- | libbe/command/base.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libbe/command/base.py b/libbe/command/base.py index 40e4bf9..a5af1f0 100644 --- a/libbe/command/base.py +++ b/libbe/command/base.py @@ -583,5 +583,6 @@ class UserInterface (object): return self._user_id def cleanup(self): - self.storage_callbacks.cleanup() + if self.storage_callbacks is not None: + self.storage_callbacks.cleanup() self.io.cleanup() |