From c0c911714efb96fa9c58152f226c877ec1dda957 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sat, 3 Mar 2012 12:39:33 -0500 Subject: [PATCH] Fix args.coordfiles -> args.placefiles in maplabel.py. I'm not sure how I missed this when I wrote the original script. --- posts/geoscript/maplabel.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/posts/geoscript/maplabel.py b/posts/geoscript/maplabel.py index 39b5d69..f0f45d8 100755 --- a/posts/geoscript/maplabel.py +++ b/posts/geoscript/maplabel.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# Copyright (C) 2011 W. Trevor King +# Copyright (C) 2011-2012 W. Trevor King # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or @@ -83,7 +83,7 @@ if __name__ == '__main__': _pylab.hold(True) - for filename in args.coordfiles: + for filename in args.placefiles: points = list(resolve_points(open(filename, 'r').readlines())) plot_points(points) -- 2.26.2