Skip to content

Commit 166599d

Browse files
v__0.217
1 parent c938610 commit 166599d

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

mec/ubx.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
def get_token(username, platform = 'colab', verbose = 0):
1+
def get_token(platform = 'colab',ENV_PATH=None):
22
if platform == 'colab':
33
return get_token_colab(username,verbose=verbose)
44
else:
55
raise Exception("Platform "+platform+' is not supported.')
66

7-
def get_token_colab(username,verbose = 0, ENV_PATH=None):
7+
def get_token_colab( ENV_PATH=None):
88
from google.colab import drive
99
drive.mount('/content/drive')
10-
filename = username + "-actions.txt"
1110
if ENV_PATH is None:
1211
ENV_PATH = "/content/drive/MyDrive/secrets/github.env"
1312
import os, requests

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name="mec",
5-
version="0.216",
5+
version="0.217",
66
authors=["Alfred Galichon"],
77
author_email="[email protected]",
88
licence="",

0 commit comments

Comments
 (0)