added note and changed test again

This commit is contained in:
Arris Kathery 2024-05-11 14:16:30 -07:00
parent ca3ba5b684
commit eb9f12ca42
2 changed files with 2 additions and 1 deletions

View file

@ -1,3 +1,4 @@
# TODO: maybe put this is a different script?
def parse_timestamp(timestamp: int, type: int):
from datetime import datetime

View file

@ -7,6 +7,6 @@ result=src.services.TriMet.get_vehicles(api)
for vm in result['vehicles']:
print(RGBtoANSI(
text=f"this is {bold(vm.type[1])} #{bold(vm.id)}.\n\troute #{bold(vm.import_data['routeNumber'])}, next stop: {bold(vm.sign[0])}\n\tboard: {bold(vm.sign[1])}",
text=f"this is {bold(vm.type[1])} #{bold(vm.id)}.\n\troute #{bold(vm.import_data['routeNumber'])}, next stop: {bold(vm.sign[0])}\n\tboard: {bold(vm.sign[1])}\n\tJSON: {bold(vm.import_data)}",
foregound=vm.route_color
))