Skip to content

Commit 86fdc0f

Browse files
authored
Update NSE-Option-Chain-Analyzer.py
1 parent 118c21c commit 86fdc0f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

NSE-Option-Chain-Analyzer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
import webbrowser
88
import csv
99
import requests
10-
import json
1110

1211

1312
# noinspection PyAttributeOutsideInit
@@ -51,7 +50,8 @@ def get_data(self, event="empty"):
5150
if response is not None:
5251
try:
5352
json_data = response.json()
54-
except json.decoder.JSONDecodeError:
53+
except Exception as err:
54+
print(err)
5555
json_data = {}
5656
else:
5757
json_data = {}

0 commit comments

Comments
 (0)