Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mopidy_json_client/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def format_app_error(input_error):

output['title'] = input_error.get('message')
inner_data = input_error.get('data')
if isinstance(inner_data, basestring):
if isinstance(inner_data, str):
output['error'] = inner_data
elif 'message' in input_error:
output['error'] = inner_data.get('message')
Expand Down
2 changes: 1 addition & 1 deletion mopidy_json_client/methods_2_0/tracklist.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def add(self, tracks=None, at_position=None, uri=None, uris=None, **options):
.. deprecated:: 1.0
The ``tracks`` and ``uri`` arguments. Use ``uris``.
'''
return self.mopidy_request('core.tracklist.add', tracks=tracks, at_position=at_position, uri=uri, uris=uris, **options)
return self.mopidy_request('core.tracklist.add', tracks=tracks, at_position=at_position, uris=uris, **options)

def get_eot_tlid(self, **options):
'''The TLID of the track that will be played after the current track.
Expand Down