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

Commit

Permalink
Merge pull request #41 from ltworf/taxi
Browse files Browse the repository at this point in the history
Add taxi as a valid vehicle type
  • Loading branch information
ltworf authored Sep 17, 2023
2 parents d5af04e + 7338a29 commit f923b71
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 f923b71

Please sign in to comment.