Skip to content

Commit ace2c49

Browse files
committed
Fix token leading space
1 parent f576404 commit ace2c49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

superannotate/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def init(self, config_location=None):
5151
self._api_config = json.load(open(config_location))
5252

5353
try:
54-
self._token = self._api_config["token"]
54+
self._token = self._api_config["token"].strip()
5555
except KeyError:
5656
raise SABaseException(
5757
0,

0 commit comments

Comments
 (0)