Skip to content

Commit 5029940

Browse files
committed
Fixed parameter name for create_sketch
Signed-off-by: ubi de feo <me@ubidefeo.com>
1 parent 96f3c87 commit 5029940

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arduino/arduino.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def create_sketch(sketch_name = None, destination_path = '.', overwrite = False,
9999
except OSError:
100100
pass
101101

102-
template_path = get_template() if source is None else source
102+
template_path = get_template() if source_path is None else source_path
103103
template_sketch = open(template_path, 'r')
104104
new_sketch_path = f'{destination_path}/{sketch_name}.py'
105105

0 commit comments

Comments
 (0)