Merge pull request #13803 from Roy-043/Arch-Arch-Schedule-allow-2-and-3-in-unit-string

Arch: Arch Schedule allow ^2 and ^3 in unit string
This commit is contained in:
Roy-043
2024-05-03 10:04:27 +02:00
committed by GitHub

View File

@@ -332,6 +332,7 @@ class _ArchSchedule:
q = None
if obj.Unit[i]:
unit = obj.Unit[i]
unit = unit.replace("^","") # get rid of existing power symbol
unit = unit.replace("2","^2")
unit = unit.replace("3","^3")
unit = unit.replace("²","^2")