aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rebuild_db.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/rebuild_db.py b/rebuild_db.py
index ee42792..0675684 100644
--- a/rebuild_db.py
+++ b/rebuild_db.py
@@ -255,15 +255,15 @@ def write_to_db(filename):
if not entry:
header[29]=props['type']
# debug galt:
- #galt = entry=header.tostring()
+ #galt = entry=header.tobytes()
#print("typeofGALT",type(galt))
# this is apparently returning type bytes ?
galt = "".join([c+"\0" for c in filename[:261]])+ \
"\0"*(525-2*len(filename))
- entry=header.tostring()+galt.encode()
+ entry=header.tobytes()+galt.encode()
# ORIG
-# entry=header.tostring()+ \
+# entry=header.tobytes()+ \
# "".join([c+"\0" for c in filename[:261]])+ \
# "\0"*(525-2*len(filename))