Skip to content

Commit b036ab3

Browse files
committed
Added filename to write results to
1 parent 85c389a commit b036ab3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

axe_selenium_python/axe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def write_results(self, data, name=None):
105105
if name:
106106
filepath = os.path.abspath(name)
107107
else:
108-
filepath = os.path.join(os.path.getcwd(), name)
108+
filepath = os.path.join(os.path.getcwd(), "results.json")
109109

110110
with open(filepath, "w", encoding="utf8") as f:
111111
try:

0 commit comments

Comments
 (0)