Skip to content

Commit

Permalink
fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
7h3Rabbit committed Sep 17, 2023
1 parent e68fc9f commit 6bc1771
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/update-software.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
os: [windows-latest]
config: ["software_github_adadvisory_database_path='adadvisory_database'"]
config: ["software_github_adadvisory_database_path=adadvisory_database"]
#os: [ubuntu-latest, windows-latest]
steps:
- name: Check out repository code
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/verify_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,11 @@ def prepare_config_file(sample_filename, filename, arguments):
value = argument[(index + 1):]

regex_argument = r'^{0}.*'.format(name)
result_argument = r'{0} = {1}'.format(name, value)
if value == 'True' or value == 'False':
result_argument = r'{0} = {1}'.format(name, value)
else:
result_argument = r'{0} = \'{1}\''.format(name, value)


tmp = re.sub(regex_argument, result_argument,
tmp, 0, re.MULTILINE)
Expand Down

0 comments on commit 6bc1771

Please sign in to comment.