From 06c16396b0713d1d7b9d33f6230f6180d7eb27c0 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Sat, 23 Oct 2004 16:02:49 +0000 Subject: [PATCH] Fixed bug. --- plugins/Google.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Google.py b/plugins/Google.py index cf85b7aa4..b3920b156 100644 --- a/plugins/Google.py +++ b/plugins/Google.py @@ -142,7 +142,7 @@ class LicenseKey(registry.String): if s: google.setLicense(self.value) except AttributeError: - if not world.dying: + if world and not world.dying: # At shutdown world can be None. raise callbacks.Error, \ 'It appears that the initial import of ' \ 'our underlying google.py module has ' \