Skip to content

TypeError: unsupported format string passed to NoneType.__format__ #118

@cycl0ne

Description

@cycl0ne

HI,

treid your little programs. the menu.py threw me this:

Traceback (most recent call last):
File "/home/pos/python/./menu.py", line 347, in
main()
File "/home/pos/python/./menu.py", line 326, in main
menu(vehicles[idx])
File "/home/pos/python/./menu.py", line 180, in menu
show_vehicle_data(vehicle.get_vehicle_data())
File "/home/pos/python/./menu.py", line 75, in show_vehicle_data
print(fmt.format(door.get(ve['ft']), door.get(ve['rt'])))
TypeError: unsupported format string passed to NoneType.format

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions