Skip to content

Commit

Permalink
put double quotes around paths in avrdude command
Browse files Browse the repository at this point in the history
  • Loading branch information
t0mpr1c3 authored and dl1com committed Jun 26, 2023
1 parent 15954df commit ef86c3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/python/ayab/firmware_flash.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ def generate_command(self, base_dir, os_name, controller_name,
return None
exe_route = re.sub(r"\n$", r"", result.stdout.decode("ascii"))
elif os_name == "Darwin": # macOS
exe_route = self.__app_context.get_resource(
"ayab/firmware/avrdude_mac")
exe_route = "\"" + self.__app_context.get_resource(
"ayab/firmware/avrdude_mac") + "\""

binary_file = os.path.join(
self.__app_context.get_resource("ayab/firmware"), firmware_name)
Expand Down

0 comments on commit ef86c3f

Please sign in to comment.