Mercurial > repo
changeset 12106:204fe444dca2 draft
<fizzie> sled /hackenv/bin/airport-lookup//s|share/airports.dat|/hackenv/share/airports.dat|
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Sat, 16 Nov 2019 22:35:00 +0000 |
parents | e6cb65ac18f6 |
children | e3fd93ced862 |
files | bin/airport-lookup |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/airport-lookup Sat Nov 16 22:33:12 2019 +0000 +++ b/bin/airport-lookup Sat Nov 16 22:35:00 2019 +0000 @@ -13,7 +13,7 @@ def f(s): return s if s and s != '\N' else '?' -with open('share/airports.dat', 'rb') as datafile: +with open('/hackenv/share/airports.dat', 'rb') as datafile: for row in csv.reader(datafile): for fi in fields: if q.lower() in row[fi].lower():