Skip to content

Commit

Permalink
Make a list copy of an iterator to store
Browse files Browse the repository at this point in the history
  • Loading branch information
redshodan committed Jan 1, 2019
1 parent acb8979 commit 0aaa0df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unsonic/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def __init__(self, db_user, db_user_config):
self.db_user_config = {u.key: u.value for u in db_user_config}
self._lastfm = None
self.listening = None
self.folders = [f for f in db_user.folders]
self.folders = list([f for f in db_user.folders])

def __getattr__(self, name):
from .config import CONFIG
Expand Down

0 comments on commit 0aaa0df

Please sign in to comment.