Clean up redundant directories and add library to update_dependencies

Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
Matthew Stidham
2021-06-29 16:28:43 -07:00
parent 419322bd6f
commit e100a38c22
3 changed files with 7 additions and 8 deletions

View File

@@ -220,7 +220,6 @@ class GhostRequest:
testbed='Unknown Testbed',
test_run=None,
target_folders=list(),
grafana_dashboard=None,
grafana_token=None,
grafana_host=None,
grafana_port=3000,
@@ -251,6 +250,8 @@ class GhostRequest:
print(files)
for file in files:
if os.path.isdir(parent_folder + '/' + file) is True:
if os.path.exists(file):
shutil.rmtree(file)
shutil.copytree(parent_folder + '/' + file, file)
target_folders.append(file)
print('Target folders: %s' % target_folders)