Skip to content

Commit

Permalink
check if type not in path name
Browse files Browse the repository at this point in the history
  • Loading branch information
bernd-mueller committed Nov 19, 2024
1 parent c4bdad4 commit 1d41c8a
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/process_profile_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,10 @@ def processProfiles(self, filename, profilename):

profile_name = arg.split("/")[-1].split(".json")[0].split("_")[0]

# abspath = "https://raw.githubusercontent.com/zbmed-semtec/specifications/master/" + arg
print("Running processProfiles() for : ",
profile_name, "with file", arg)

proc.processProfiles(arg, profile_name)
if not "type" in profile_name:
# abspath = "https://raw.githubusercontent.com/zbmed-semtec/specifications/master/" + arg
print("Running processProfiles() for : ",
profile_name, "with file", arg)
proc.processProfiles(arg, profile_name)
else:
print("Not processing", arg, "because 'type' in path name!")

0 comments on commit 1d41c8a

Please sign in to comment.