Skip to content

Commit 1cf02a0

Browse files
v__0.219
1 parent b28f4bc commit 1cf02a0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

mec/ubx.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ def get_token_colab( ENV_PATH=None):
1111
ENV_PATH = "/content/drive/MyDrive/secrets/github.env"
1212
import os, requests
1313
from dotenv import load_dotenv
14-
from github import Github, Auth, InputFileContent
1514
# Load token from Drive .env
1615
loaded = load_dotenv(ENV_PATH, override=True)
1716
assert loaded, f"Could not load {ENV_PATH}"
@@ -21,8 +20,9 @@ def get_token_colab( ENV_PATH=None):
2120

2221

2322
def create_gist(username,TOKEN,verbose = 0):
24-
filename = username + "-actions.txt"
23+
from github import Github, Auth, InputFileContent
2524
import requests
25+
filename = username + "-actions.txt"
2626
# (Optional) sanity check: see scopes returned by API headers
2727
resp = requests.get(
2828
"https://api.github.com/user",

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.218",
5+
version="0.219",
66
authors=["Alfred Galichon"],
77
author_email="[email protected]",
88
licence="",

0 commit comments

Comments
 (0)