Skip to content

Commit de04cb1

Browse files
committed
Update ampache.py
1 parent 19ff1ab commit de04cb1

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/ampache.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1484,10 +1484,6 @@ def playlist_add(self, filter_id: int, object_id: int, object_type: str):
14841484
* type = (string) 'song', 'album', 'artist', 'playlist'
14851485
"""
14861486
ampache_url = self.AMPACHE_URL + '/server/' + self.AMPACHE_API + '.server.php'
1487-
if bool(check):
1488-
check = 1
1489-
else:
1490-
check = 0
14911487
data = {'action': 'playlist_add',
14921488
'auth': self.AMPACHE_SESSION,
14931489
'filter': filter_id,

0 commit comments

Comments
 (0)