Skip to content

Commit

Permalink
update script
Browse files Browse the repository at this point in the history
fix dir structure setup
  • Loading branch information
itspangler committed Aug 29, 2024
1 parent 2d392b8 commit e150232
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@

# check for dir structure

for s in data:
if not os.path(f"../data/{s['name']}"):
for s in data['servers']:
if not os.path.exists(f"../data/{s['name']}"):
os.makedirs(f"../data/{s['name']}")

# define the giant queries we'll be using over and over
Expand All @@ -59,10 +59,9 @@
with open('../inputs/target.json') as f:
target=json.load(f)

# open the snapshot json file where we'll write our data
# make a snapshot json file where we'll write our data

with open('../inputs/snapshot.json') as f:
snapshot=json.load(f)
snapshot={ }

snapshot['servers']=[ ]
serverCount=0
Expand Down

0 comments on commit e150232

Please sign in to comment.