mirror of
https://github.com/elephantrobotics/mycobot_ros.git
synced 2026-07-13 08:30:53 +00:00
optimize
This commit is contained in:
parent
3ab3a2bee3
commit
d36a23ab9a
3 changed files with 7 additions and 1 deletions
|
|
@ -56,6 +56,8 @@ def cut_photo():
|
|||
path = path1
|
||||
elif os.path.exists(path2):
|
||||
path = path2
|
||||
else:
|
||||
print("invalid path!")
|
||||
|
||||
path_red = path+'/res/red'
|
||||
for i, j, k in os.walk(path_red):
|
||||
|
|
|
|||
|
|
@ -56,6 +56,8 @@ def cut_photo():
|
|||
path = path1
|
||||
elif os.path.exists(path2):
|
||||
path = path2
|
||||
else:
|
||||
print("invalid path!")
|
||||
|
||||
path_red = path + '/res/red'
|
||||
for i, j, k in os.walk(path_red):
|
||||
|
|
|
|||
|
|
@ -56,6 +56,8 @@ def cut_photo():
|
|||
path = path1
|
||||
elif os.path.exists(path2):
|
||||
path = path2
|
||||
else:
|
||||
print("invalid path!")
|
||||
|
||||
path_red = path + '/res/red'
|
||||
for i, j, k in os.walk(path_red):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue