aboutsummaryrefslogtreecommitdiffstats
path: root/extract_token_from_browser.py
diff options
context:
space:
mode:
Diffstat (limited to 'extract_token_from_browser.py')
-rwxr-xr-xextract_token_from_browser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/extract_token_from_browser.py b/extract_token_from_browser.py
index fb74535..d4c9c10 100755
--- a/extract_token_from_browser.py
+++ b/extract_token_from_browser.py
@@ -197,7 +197,7 @@ elif browser == "chrome":
db = DB(tmp_dir)
local_storage_value = db.get(leveldb_key)
- local_config = json.loads(local_storage_value[1:])
+ local_config = json.loads(local_storage_value[1:]) if local_storage_value else None
else:
assert_never(browser)