Browse Source

Using the best pickle protocol version

pull/51/head
Louis 11 years ago
parent
commit
5cc88974f2
  1. 1
      patacrep/songs.py

1
patacrep/songs.py

@ -156,6 +156,7 @@ class Song(object):
pickle.dump( pickle.dump(
cached, cached,
open(cached_name(self.datadir, self.subpath), 'wb'), open(cached_name(self.datadir, self.subpath), 'wb'),
protocol = -1
) )
def __repr__(self): def __repr__(self):

Loading…
Cancel
Save