Skip to content

Commit 355455f

Browse files
committed
corrected python script
1 parent 157a054 commit 355455f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

collections/fgdc/symbol/fgdc.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<qgis_style version=1>
1+
<qgis_style version="1">
22
<symbols>
33
<symbol force_rhr="0" name="25.018: Strike-slip fault, planetary, left-lateral offset&#8212;Location approximate. Arrows show relative motion" clip_to_extent="1" tags="fgdc,geology" alpha="1" type="line">
44
<layer class="HashLine" pass="0" locked="0" enabled="1">
@@ -9865,4 +9865,4 @@
98659865
</symbol>
98669866

98679867
</symbols>
9868-
<qgis_style>
9868+
</qgis_style>

src/scripts/authsplit.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
filename = format( outfile )
1818
f = open(filename, 'wb')
19-
f.write(b"<qgis_style version=1>\n<symbols>\n")
19+
f.write(b"<qgis_style version=\"1\">\n<symbols>\n")
2020

2121
context = ET.iterparse( infile , events=('end','start' ))
2222
depth = 0
@@ -36,5 +36,5 @@
3636
f.write(ET.tostring(elem))
3737

3838
f.write(b"\n</symbols>")
39-
f.write(b"\n<qgis_style>")
39+
f.write(b"\n</qgis_style>")
4040
f.close()

0 commit comments

Comments
 (0)