Update video.py: self.key already contains slash

self.key already contains a leading slash therefore this call to the Plex server will fail with 404 not found.
When the slash from the query location is removed, the call will succeed.
This commit is contained in:
bramwalet 2015-11-22 12:55:50 +01:00
parent e34f8cdbd4
commit bd47ea157d

View file

@ -119,7 +119,7 @@ class Video(PlexPartialObject):
client.playMedia(self)
def refresh(self):
self.server.query('/%s/refresh' % self.key, method=put)
self.server.query('%s/refresh' % self.key, method=put)
class Movie(Video):