Spaces:
Running
Running
tracinginsights
commited on
Commit
•
ecc732f
1
Parent(s):
0b5b185
Update clone.py
Browse files
clone.py
CHANGED
@@ -1,9 +0,0 @@
|
|
1 |
-
from git import Repo
|
2 |
-
import os
|
3 |
-
|
4 |
-
GITHUB_PAT = os.environ['GITHUB']
|
5 |
-
def clone_repo():
|
6 |
-
if os.path.exists(repo_directory):
|
7 |
-
None
|
8 |
-
else:
|
9 |
-
return Repo.clone_from(f'https://tracinginsights:{GITHUB_PAT}@github.com/TracingInsights/Charts.git', 'repo_directory' )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|