We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2392b18 commit 5bd750fCopy full SHA for 5bd750f
dbf/_index.py
@@ -9,9 +9,9 @@ def __init__(self, dbf):
9
filename += '.pdx'
10
if not os.path.exists(filename):
11
self.index_file = open(filename, 'r+b')
12
- self.index_file.write('\xea\xaf\x37\xbf' # signature
13
- '\x00'*8 # two non-existant lists
14
- '\x00'*500) # and no indices
+ self.index_file.write(b'\xea\xaf\x37\xbf' + # signature
+ b'\x00'*8 + # two non-existant lists
+ b'\x00'*500) # and no indices
15
return
16
index_file = self.index_file = open(filename, 'r+b')
17
header = index_file.read(512)
0 commit comments