Skip to content

Commit

Permalink
Hopefully fix pickle error
Browse files Browse the repository at this point in the history
  • Loading branch information
ids1024 committed Jun 27, 2016
1 parent 7639d35 commit 401539e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mps_youtube/playlists.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ def load():
__main__.Playlist = Playlist
__main__.Video = Video

from . import main
main.Playlist = Playlist
main.Video = Video

with open(g.PLFILE, "rb") as plf:
g.userpl = pickle.load(plf)

Expand Down

0 comments on commit 401539e

Please sign in to comment.