Fixed error message (farbe->dicke).
authorphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Thu, 15 Aug 2013 11:23:10 +0000 (11:23 +0000)
committerphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Thu, 15 Aug 2013 11:23:10 +0000 (11:23 +0000)
git-svn-id: http://www.winterrodeln.org/svn/wrpylib/trunk@1519 7aebc617-e5e2-0310-91dc-80fb5f6d2477

wrpylib/wrmwmarkup.py

index 142512ebaff6695823cb9bc211686dcad15f7394..f54e8ebf0a993b4e92ffd3630e1ba8f4658f09c6 100644 (file)
@@ -457,7 +457,7 @@ def parse_wrmap(wikitext):
                 try:
                     properties['strokeWidth'] = int(feature.attrib['dicke']) # e.g. 6
                 except ValueError:
-                    raise RuntimeError('The attribute "farbe" has to be an integer.')
+                    raise RuntimeError('The attribute "dicke" has to be an integer.')
             json_features.append({
                 'type': 'feature',
                 'geometry': {'type': 'LineString', 'coordinates': parse_wrmap_coordinates(feature.text)},