diff --git a/Tests/preferences.py b/Tests/preferences.py index 49b9f7cd0..cb9c5ac6a 100644 --- a/Tests/preferences.py +++ b/Tests/preferences.py @@ -65,7 +65,12 @@ class preferences: get.cookie = self.cookie self.client.execute (get) content = eval (get.response['body']) - return content[preference] + result = None + try: + result = content[preference] + except: + pass + return result # Simple main to test this class