Skip to content

Commit efc96b1

Browse files
fix : minor edit in usb_control function #36
1 parent 70ebe98 commit efc96b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

orangetool/orangetool_storage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def usb_control(code, debug=False):
165165
"""
166166
try:
167167
command = sub.Popen(
168-
["chmod", code ,"/media/"],
168+
["chmod", "-R", code,"/media/"],
169169
stderr=sub.PIPE,
170170
stdout=sub.PIPE,
171171
stdin=sub.PIPE)

0 commit comments

Comments
 (0)