We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdbf4e4 commit 2321dbeCopy full SHA for 2321dbe
qiita_client/qiita_client.py
@@ -12,7 +12,13 @@
12
import requests
13
import threading
14
import pandas as pd
15
-from json import dumps, loads, JSONDecodeError
+from json import dumps, loads
16
+try:
17
+ from json import JSONDecodeError
18
+except ImportError:
19
+ # dirty hack to cope with the fact that python 2.7 does not have
20
+ # JSONDecodeError, but is needed for qp-target-gene plugin
21
+ JSONDecodeError = ValueError
22
from random import randint
23
import fnmatch
24
from io import BytesIO
0 commit comments