1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00

Added pulse on main page

This commit is contained in:
Krateng
2019-02-18 17:22:44 +01:00
parent 28f35aa12a
commit f29c5ca8b9
3 changed files with 109 additions and 64 deletions

6
maloja
View File

@@ -174,11 +174,13 @@ def update():
os.system("wget " + SOURCE_URL)
with zipfile.ZipFile("master.zip","r") as z:
with zipfile.ZipFile("./master.zip","r") as z:
for f in z.namelist():
#print("extracting " + f)
z.extract(f)
z.extract(f)
os.remove("./master.zip")
distutils.dir_util.copy_tree("./maloja-master/","./",verbose=2)