]> git.sesse.net Git - s573compress/commitdiff
Unbreak the titles.
authorSteinar H. Gunderson <steinar+ddr@gunderson.no>
Sat, 30 Nov 2019 16:26:58 +0000 (17:26 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 30 Nov 2019 16:26:58 +0000 (17:26 +0100)
create_mdb.py

index 4cf53d74ebdd15c896cf87f724dc78c1e8b30d22..39da1f3507d765576b996600d35f0031330165de 100755 (executable)
@@ -64,3 +64,6 @@ with open(sys.argv[2], 'wb') as tabfile:
                e += struct.pack('<I', titles[entry['title']])
                e += struct.pack('<I', titles[entry['title2']])
                tabfile.write(e)
+
+       tabfile.write('\u0000'.join(all_titles).encode('ASCII'))
+