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.
2 parents 8196463 + 76c4445 commit d3db484Copy full SHA for d3db484
requirements_dev.txt
@@ -3,4 +3,5 @@ tox==3.24.2
3
pytest==6.2.4
4
pytest-xdist==2.3.0
5
pytest-parallel==0.1.0
6
-pytest-rerunfailures==10.2
+pytest-rerunfailures==10.2
7
+sphinx_rtd_theme==1.0.0
src/superannotate/lib/app/mixp/decorators.py
@@ -10,9 +10,12 @@
10
11
controller = Controller.get_instance()
12
13
-if "api.annotate.online" in controller._backend_client.api_url:
14
- TOKEN = "ca95ed96f80e8ec3be791e2d3097cf51"
15
-else:
+try:
+ if "api.annotate.online" in controller._backend_client.api_url:
+ TOKEN = "ca95ed96f80e8ec3be791e2d3097cf51"
16
+ else:
17
+ TOKEN = "e741d4863e7e05b1a45833d01865ef0d"
18
+except AttributeError as e:
19
TOKEN = "e741d4863e7e05b1a45833d01865ef0d"
20
mp = Mixpanel(TOKEN)
21
0 commit comments