Skip to content

Commit

Permalink
Merge pull request #135 from kingosticks/master
Browse files Browse the repository at this point in the history
fix linting
  • Loading branch information
kingosticks authored Feb 18, 2023
2 parents fc766b0 + e4f6f8b commit 48f69a2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion mopidy_soundcloud/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@


class Extension(ext.Extension):

dist_name = "Mopidy-SoundCloud"
ext_name = "soundcloud"
version = __version__
Expand Down
5 changes: 2 additions & 3 deletions mopidy_soundcloud/library.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ def new_folder(name, path):


def simplify_search_query(query):

if isinstance(query, dict):
r = []
for v in query.values():
Expand Down Expand Up @@ -51,7 +50,7 @@ def add_to_vfs(self, _model):

def list_sets(self):
sets_vfs = collections.OrderedDict()
for (name, set_id, _tracks) in self.backend.remote.get_sets():
for name, set_id, _tracks in self.backend.remote.get_sets():
sets_list = new_folder(name, ["sets", set_id])
logger.debug(f"Adding set {sets_list.name} to VFS")
sets_vfs[set_id] = sets_list
Expand All @@ -68,7 +67,7 @@ def list_liked(self):

def list_user_follows(self):
sets_vfs = collections.OrderedDict()
for (name, user_id) in self.backend.remote.get_followings():
for name, user_id in self.backend.remote.get_followings():
sets_list = new_folder(name, ["following", user_id])
logger.debug(f"Adding set {sets_list.name} to VFS")
sets_vfs[user_id] = sets_list
Expand Down
1 change: 0 additions & 1 deletion mopidy_soundcloud/soundcloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,6 @@ def parse_fail_reason(reason):

@cache()
def get_streamable_url(self, sharing, permalink_url, stream_url):

if self.public_client_id is None:
self._update_public_client_id()

Expand Down

0 comments on commit 48f69a2

Please sign in to comment.