Skip to content
This repository has been archived by the owner on Sep 17, 2023. It is now read-only.

Commit

Permalink
Add taxi as a valid vehicle type
Browse files Browse the repository at this point in the history
Closes: #40
  • Loading branch information
ltworf committed Sep 17, 2023
1 parent d5af04e commit 7338a29
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions vasttrafik.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# vasttrafik-cli
# Copyright (C) 2012-2021 Salvo "LtWorf" Tomaselli
# Copyright (C) 2012-2023 Salvo "LtWorf" Tomaselli
#
# vasttrafik-cli is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -301,6 +301,7 @@ class VehicleType(Enum):
BOAT = 'BOAT'
VAS = 'VAS'
REG = 'REG'
TAXI = 'TAXI'

@property
def symbol(self) -> str:
Expand All @@ -311,7 +312,8 @@ def symbol(self) -> str:
self.BUS: '🚌',
self.WALK: '🚶',
self.BOAT: '⛴',
self.ST: ' '
self.ST: ' ',
self.TAXI: '🚕',
}
return s[self] # type: ignore

Expand Down

0 comments on commit 7338a29

Please sign in to comment.