Merge branch 'develop' into feature/integrations
This commit is contained in:
@@ -692,7 +692,12 @@ def workout_nkimport_view(request, userid=0, after=0, before=0):
|
||||
parkedids = []
|
||||
try:
|
||||
with open('nkblocked.json', 'r') as nkblocked:
|
||||
jsondata = json.load(nkblocked)
|
||||
try:
|
||||
jsondata = json.load(nkblocked)
|
||||
except:
|
||||
jsondata = {
|
||||
'ids':[]
|
||||
}
|
||||
parkedids = jsondata['ids']
|
||||
except FileNotFoundError: # pragma: no cover
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user