Skip to content

Commit 21da73a

Browse files
Update read_path.py
1 parent 91eb201 commit 21da73a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

read_path.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
with open("pybot-config.yaml", "r") as yamlfile:
55
data = yaml.load(yamlfile, Loader=yaml.FullLoader)
66

7-
pc_profile = data[0]['Config']['cpc_profile']
7+
pc_profile = data[0]['Config']['pc_profile']
88

99
def get_current_path():
1010
with open(pc_profile + r'\Desktop\paths.txt', 'r') as file:
@@ -46,4 +46,4 @@ def get_current_path_random():
4646
path_array.append([int(x), int(y)])
4747
break
4848
print(path_array)
49-
return path_array
49+
return path_array

0 commit comments

Comments
 (0)