Arch: Arch Schedule allow ^2 and ^3 in unit string

Fixes #13796.
This commit is contained in:
Roy-043
2024-05-02 21:30:32 +02:00
parent e4eb859849
commit c792effb06

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")