diff options
author | Simon Schampijer <simon@schampijer.de> | 2007-09-01 10:10:03 (GMT) |
---|---|---|
committer | Simon Schampijer <simon@schampijer.de> | 2007-09-01 10:10:03 (GMT) |
commit | cd10c5006fa37eda8cdbb6000b5edfa70d70a37f (patch) | |
tree | 1657c20bca6def0d43c27f0867123eaabc6e7d28 /sessionstore.py | |
parent | 6ae5e4111a76f9cb8f59ae6dfc9123365df39467 (diff) |
more refactoring for using json only
Diffstat (limited to 'sessionstore.py')
-rw-r--r-- | sessionstore.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sessionstore.py b/sessionstore.py index 0847976..2b96ea0 100644 --- a/sessionstore.py +++ b/sessionstore.py @@ -22,15 +22,11 @@ import logging from xpcom import components from xpcom.components import interfaces -import json - - def get_session(browser): session_history = browser.web_navigation.sessionHistory if session_history.count == 0: - return '' - + return '' return _get_history(session_history) def set_session(browser, data): |