Pitmairen/bryton-gps-linux

Error by running --list-history

Opened this issue · 2 comments

For a Rider 20

sudo python brytongps.py --device /dev/disk/by-id/usb-BRYTON_MASS_STORAGE_000000000001-0:0 --list-history

This give the following error.

Traceback (most recent call last):
File "brytongps.py", line 454, in
sys.exit(main())
File "brytongps.py", line 355, in main
print_history(history, args.storage)
File "brytongps.py", line 107, in print_history
print_msg(format(i, '2d'), ':', t.name)
TypeError: print_msg() takes exactly 1 argument (3 given)

It should be working now. It was just a stupid bug from my last update.

Thanks for the fix. It worked