Update Gmeek.py
This commit is contained in:
parent
600898f139
commit
fdfbf2a42e
6
Gmeek.py
6
Gmeek.py
@ -73,12 +73,6 @@ class GMEEK():
|
|||||||
os.mkdir(self.root_dir)
|
os.mkdir(self.root_dir)
|
||||||
os.mkdir(self.post_dir)
|
os.mkdir(self.post_dir)
|
||||||
|
|
||||||
if os.path.exists(self.static_dir):
|
|
||||||
shutil.copytree(self.static_dir, os.path.join(self.root_dir, 'static'))
|
|
||||||
print("Copy static to docs")
|
|
||||||
else:
|
|
||||||
print("static not exist")
|
|
||||||
|
|
||||||
if os.path.exists(self.static_dir):
|
if os.path.exists(self.static_dir):
|
||||||
for item in os.listdir(self.static_dir):
|
for item in os.listdir(self.static_dir):
|
||||||
src = os.path.join(self.static_dir, item)
|
src = os.path.join(self.static_dir, item)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user