Skip to content

Commit 6587e4e

Browse files
v__0.214
1 parent bbf8825 commit 6587e4e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

mec/ubx.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ def create_gist(username, platform = 'colab', verbose = 0):
88

99

1010
def create_gist_colab(username,verbose = 0, ENV_PATH=None):
11-
filename = username + "-actions.txt"
12-
if ENV_PATH is None:
13-
ENV_PATH = "/content/drive/MyDrive/secrets/github.env"
11+
filename = username + "-actions.txt"
12+
if ENV_PATH is None:
13+
ENV_PATH = "/content/drive/MyDrive/secrets/github.env"
1414
import os, requests
1515
from dotenv import load_dotenv
1616
from github import Github, Auth, InputFileContent
@@ -28,7 +28,7 @@ def create_gist_colab(username,verbose = 0, ENV_PATH=None):
2828
timeout=20,
2929
)
3030
resp.raise_for_status()
31-
if verbose>0:
31+
if verbose>0:
3232
print("Authenticated as:", resp.json().get("login"))
3333
print("Token scopes (X-OAuth-Scopes):", resp.headers.get("X-OAuth-Scopes"))
3434

@@ -59,4 +59,4 @@ def create_gist_colab(username,verbose = 0, ENV_PATH=None):
5959
print("Gist created!")
6060
print("Web view:", gist.html_url)
6161
print("Raw file:", gist.files[filename].raw_url)
62-
return()
62+
return()

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

0 commit comments

Comments
 (0)