whereami icon indicating copy to clipboard operation
whereami copied to clipboard

Locations lose trailing 't' or 'x'

Open iamthad opened this issue 6 years ago • 0 comments

The names of locations lose any number of trailing 't' or 'x' characters, e.g.

$ whereami learn -l couch-right &>/dev/null
$ whereami locations
couch-righ: 1

This is due to using rstrip(".txt") on the filename at get_data.py:42, which will strip any number of '.', 't', or 'x' characters.

iamthad avatar Feb 14 '19 13:02 iamthad