Skip to content

Commit 6ce0349

Browse files
committed
token method now in auth, not github
1 parent 8a9ab65 commit 6ce0349

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

abcclassroom/template.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
from . import config as cf
1111
from . import git as abcgit
1212
from . import github as abcgithub
13+
from . import auth
1314
from . import utils
1415

1516

@@ -129,7 +130,7 @@ def create_template(
129130
if push_to_github:
130131
organization = cf.get_config_option(config, "organization", True)
131132
repo_name = os.path.basename(template_repo_path)
132-
token = cf.get_github_auth()["access_token"]
133+
token = auth.get_github_auth()["access_token"]
133134

134135
create_or_update_remote(
135136
template_repo_path, organization, repo_name, token

0 commit comments

Comments
 (0)