From b9bd2fb6a8166e08a5f345d3905e43adb3b72495 Mon Sep 17 00:00:00 2001 From: pux Date: Sat, 7 May 2022 12:37:41 +0200 Subject: template.kml to template/ dir so we can easily mv *.kml later on --- gk2kml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gk2kml.py') diff --git a/gk2kml.py b/gk2kml.py index 3a02771..aad7408 100755 --- a/gk2kml.py +++ b/gk2kml.py @@ -93,7 +93,7 @@ def main(): if args.write: print('Writing to kml file: ' + args.write + '.kml') - template = open('template.kml', 'r', encoding='utf-8') + template = open('template/template.kml', 'r', encoding='utf-8') outf = open(args.write + '.kml', 'w', encoding='utf-8',\ errors='ignore') line = template.readline() -- cgit v1.2.2-1-g5e49