Spaces:
Runtime error
Runtime error
Commit
·
49ecdb0
1
Parent(s):
592872f
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,6 +2,7 @@ import os, shutil
|
|
| 2 |
from git import Repo
|
| 3 |
token = os.getenv("githubpublictokenclassic")
|
| 4 |
|
|
|
|
| 5 |
currentpath = "repo_directory"
|
| 6 |
if os.path.exists(currentpath):
|
| 7 |
shutil.rmtree(currentpath)
|
|
|
|
| 2 |
from git import Repo
|
| 3 |
token = os.getenv("githubpublictokenclassic")
|
| 4 |
|
| 5 |
+
|
| 6 |
currentpath = "repo_directory"
|
| 7 |
if os.path.exists(currentpath):
|
| 8 |
shutil.rmtree(currentpath)
|