Spaces:
Sleeping
Sleeping
Update loki.py
Browse files
loki.py
CHANGED
|
@@ -5,12 +5,15 @@ import subprocess
|
|
| 5 |
from git import Repo
|
| 6 |
|
| 7 |
from cipherX import cipherx
|
|
|
|
| 8 |
|
| 9 |
os.system(f"git clone {cipherx}")
|
| 10 |
|
| 11 |
-
os.system(f"cd '
|
| 12 |
|
| 13 |
-
for x in os.listdir(
|
| 14 |
-
source = os.path.join(
|
| 15 |
destination = os.path.join('.', x)
|
| 16 |
-
shutil.move(source, destination)
|
|
|
|
|
|
|
|
|
| 5 |
from git import Repo
|
| 6 |
|
| 7 |
from cipherX import cipherx
|
| 8 |
+
from cipherW import cipherw
|
| 9 |
|
| 10 |
os.system(f"git clone {cipherx}")
|
| 11 |
|
| 12 |
+
os.system(f"cd '{cipherw}' && git pull")
|
| 13 |
|
| 14 |
+
for x in os.listdir(cipherw):
|
| 15 |
+
source = os.path.join(cipherw, x)
|
| 16 |
destination = os.path.join('.', x)
|
| 17 |
+
shutil.move(source, destination)
|
| 18 |
+
|
| 19 |
+
shutil.rmtree(cipherw)
|