Skip to content

Commit 23b10c0

Browse files
committed
Fix ImportError: cannot import name ‘json’ from itsdangerous
1 parent ba4e9bb commit 23b10c0

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ urllib3==1.24.3
1010
Werkzeug==0.15.5
1111
xmltodict==0.10.2
1212
sqlalchemy-utils==0.36.8
13+

shakecast/app/productdownload.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def __init__(self,
3434
self.delim = ''
3535
self.log = ''
3636
self.query_period = 'day'
37-
self.gsm_only = sc.gsm_only
37+
self.gsm_only = sc.gsm_only
3838

3939
if not self.req_products:
4040
self.req_products = sc.eq_req_products

shakecast/app/util.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def __init__(self):
9292
self.software_version = ''
9393
self.json = ''
9494
self.map_key = ''
95-
self.gsm_only = False
95+
self.gsm_only = False
9696

9797
self.load()
9898

shakecast/conf/sc.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"DNS": "https://localhost",
3838
"name": "ShakeCast"
3939
},
40-
"map_key": "pk.eyJ1Ijoia3Vvd2FubGluIiwiYSI6ImNpdWhhd2FuYzAxMnUyb2wzYTU4NzNycGkifQ.9BJUDR37C1r6QgprU0pQrA",
40+
"map_key": "pk.eyJ1Ijoia3Vvd2FubGluIiwiYSI6ImNpdWhhd2FuYzAxMnUyb2wzYTU4NzNycGkifQ.9BJUDR37C1r6QgprU0pQrA",
4141
"host": "localhost",
4242
"extensions": [],
4343
"Proxy": {
@@ -51,7 +51,7 @@
5151
"Services": {
5252
"use_geo_json": true,
5353
"ignore_nets": "at,pt,ew",
54-
"gsm_only": false,
54+
"gsm_only": false,
5555
"new_eq_mag_cutoff": 3,
5656
"keep_eq_for": 60,
5757
"eq_req_products": [

0 commit comments

Comments
 (0)