fix names & cntl prime righe

This commit is contained in:
2024-11-28 20:41:54 +01:00
parent 89211b21c6
commit 610e87c1d1
3 changed files with 9 additions and 9 deletions

View File

@@ -39,8 +39,8 @@ class config:
# unit setting
self.headers = {key: int(value) for pair in c.get("unit", "Headers").split('|') for key, value in [pair.split(':')]}
self.unit_names = [part for part in c.get("unit", "Names").split('|')]
self.units_name = [part for part in c.get("unit", "Names").split('|')]
# tool setting
self.tool_names = [part for part in c.get("tool", "Names").split('|')]
self.tool_types = [part for part in c.get("tool", "Types").split('|')]
self.tools_name = [part for part in c.get("tool", "Names").split('|')]
self.tools_type = [part for part in c.get("tool", "Types").split('|')]