]> git.phdru.name Git - bookmarks_db.git/commitdiff
Fix(Py3): Fix `list.join(separator)`
authorOleg Broytman <phd@phdru.name>
Sun, 12 Nov 2023 10:04:22 +0000 (13:04 +0300)
committerOleg Broytman <phd@phdru.name>
Sun, 12 Nov 2023 19:21:09 +0000 (22:21 +0300)
It's now `separator.join(list)`.

Storage/bkmk_stflad.py

index a4634fa8bc9a29617bb63358622baaaed6c3783d..c049b62e562168421d8a3690b9b2c06fbaf91a5a 100644 (file)
@@ -88,9 +88,9 @@ Charset: %s
         header_file.close()
 
         header = header.split("\n")
-        root_folder.header = header[:5].join('')
+        root_folder.header = ''.join(header[:5])
         root_folder.name = header[5][4:-5]
-        root_folder.comment = header[7:].join('')[4:]
+        root_folder.comment = ''.join(header[7:])[4:]
 
         save_level = 0
         got_folder = 1  # Start as if we already have one folder