awacke1 commited on
Commit
e2e8cd9
·
1 Parent(s): 12e6828

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -20,8 +20,8 @@ make install
20
  def pull_files_from_github_url(url):
21
  import os
22
 
23
- client = GitHubAPI()
24
- client.get('/rate_limit')['resources']['core']
25
 
26
  # Using GitPython library
27
  # from git import Repo
@@ -30,7 +30,9 @@ def pull_files_from_github_url(url):
30
  # dir_name = os.path.basename(url).split('.')[0]
31
 
32
  # Clone the repo
33
- # Repo.clone_from(url, dir_name)
 
 
34
 
35
  # Get the list of files
36
  # repo = Repo(dir_name)
 
20
  def pull_files_from_github_url(url):
21
  import os
22
 
23
+ #client = GitHubAPI()
24
+ #client.get('/rate_limit')['resources']['core']
25
 
26
  # Using GitPython library
27
  # from git import Repo
 
30
  # dir_name = os.path.basename(url).split('.')[0]
31
 
32
  # Clone the repo
33
+ #
34
+ dir_name = 'c:\\users\\awacke1\\'
35
+ Repo.clone_from(url, dir_name)
36
 
37
  # Get the list of files
38
  # repo = Repo(dir_name)