Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sessionstore.py
diff options
context:
space:
mode:
Diffstat (limited to 'sessionstore.py')
-rw-r--r--sessionstore.py6
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):