Update Gmeek.py
This commit is contained in:
parent
eb406080f0
commit
9234c74350
8
Gmeek.py
8
Gmeek.py
@ -52,6 +52,14 @@ class GMEEK():
|
||||
self.defaultConfig()
|
||||
|
||||
def cleanFile(self):
|
||||
workspace=os.environ.get('github.workspace')
|
||||
print(workspace)
|
||||
if os.path.exists(workspace+self.backup_dir):
|
||||
shutil.rmtree(workspace+self.backup_dir)
|
||||
|
||||
if os.path.exists(workspace+self.root_dir):
|
||||
shutil.rmtree(workspace+self.root_dir)
|
||||
|
||||
if os.path.exists(self.backup_dir):
|
||||
shutil.rmtree(self.backup_dir)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user