Skip to content

Commit ed96e6a

Browse files
author
Axel Hörteborn
committed
Fixed some minor string errors
1 parent fbb6c6f commit ed96e6a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

support_scripts/pyagriculture/agriculture.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,11 +160,11 @@ def gather_task_names(self: Self,
160160
else:
161161
equipment = 'unknown'
162162
try:
163-
equipment = self.task_dicts['DVC'][task_structure['TSK'][i]["child"]["CNN"][0]["C"]]["B"]
163+
equipment = self.task_dicts["DVC"][task_structure["TSK"][i]["child"]["CNN"][0]["C"]]["B"]
164164
except:
165165
pass
166166
try:
167-
file = getfile_insensitive(f'{self.path}{tsk['child']['TLG'][0]["A"]}.xml')
167+
file = getfile_insensitive(f'{self.path}{tsk["child"]["TLG"][0]["A"]}.xml')
168168
branch = ET.parse(file)
169169
except (FileNotFoundError, ET.ParseError):
170170
if not continue_on_fail:

0 commit comments

Comments
 (0)