Skip to content

Commit

Permalink
Fix shift direction names.
Browse files Browse the repository at this point in the history
  • Loading branch information
riga authored May 23, 2024
1 parent 5179bf2 commit 29540a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions order/shift.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,11 +166,11 @@ class Shift(UniqueObject, CopyMixin, AuxDataMixin, TagMixin, LabelMixin):
cls_name_plural = "shifts"

# nominal flag
NOMINAL = sn.Number.NOMINAL
NOMINAL = str(sn.Number.NOMINAL)

# shift directions
UP = sn.Number.UP
DOWN = sn.Number.DOWN
UP = str(sn.Number.UP)
DOWN = str(sn.Number.DOWN)

# shift types
RATE = "rate"
Expand Down

0 comments on commit 29540a3

Please sign in to comment.