mirror of
https://gitlab.com/jrmiller82/pathfinder-2-sqlite.git
synced 2026-10-12 22:29:44 -04:00
update cleanyaml to recursive and run it
This commit is contained in:
1 parent
c5fbb0d7d6
commit
82937a88e4
6 files changed
+365
-167525
No files matched your search
+2
-2
@@ -14,7 +14,7 @@ def main():
|
||||
|
||||
# gets all files with a yaml extension in the directory
|
||||
yfiles = []
|
||||
for file in glob.glob("*.yaml"):
|
||||
for file in glob.glob("**/*.yaml", recursive=True):
|
||||
yfiles.append(file)
|
||||
|
||||
yfiles.sort()
|
||||
@@ -38,7 +38,7 @@ def main():
|
||||
# print("After: {}".format(i['trigger']))
|
||||
if x == "triggers.yaml":
|
||||
for i in data['trigger']:
|
||||
print(i)
|
||||
#print(i)
|
||||
i = i.replace('’', "'")
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user