Skip to content

Commit c4904df

Browse files
committed
update BLANK -> NULL in response to textual breaking change in v8
1 parent 440b179 commit c4904df

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/virtualship/cli/_plan.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,7 @@ def compose(self) -> ComposeResult:
736736
id=f"wp{self.index}_year",
737737
value=int(self.waypoint.time.year)
738738
if self.waypoint.time
739-
else Select.BLANK,
739+
else Select.NULL,
740740
prompt="YYYY",
741741
classes="year-select",
742742
)
@@ -746,7 +746,7 @@ def compose(self) -> ComposeResult:
746746
id=f"wp{self.index}_month",
747747
value=int(self.waypoint.time.month)
748748
if self.waypoint.time
749-
else Select.BLANK,
749+
else Select.NULL,
750750
prompt="MM",
751751
classes="month-select",
752752
)
@@ -756,7 +756,7 @@ def compose(self) -> ComposeResult:
756756
id=f"wp{self.index}_day",
757757
value=int(self.waypoint.time.day)
758758
if self.waypoint.time
759-
else Select.BLANK,
759+
else Select.NULL,
760760
prompt="DD",
761761
classes="day-select",
762762
)
@@ -766,7 +766,7 @@ def compose(self) -> ComposeResult:
766766
id=f"wp{self.index}_hour",
767767
value=int(self.waypoint.time.hour)
768768
if self.waypoint.time
769-
else Select.BLANK,
769+
else Select.NULL,
770770
prompt="hh",
771771
classes="hour-select",
772772
)
@@ -775,7 +775,7 @@ def compose(self) -> ComposeResult:
775775
minute_value = (
776776
int(self.waypoint.time.minute)
777777
if self.waypoint.time
778-
else Select.BLANK
778+
else Select.NULL
779779
)
780780

781781
# if the current minute is not a multiple of 5, add it to the options

0 commit comments

Comments
 (0)