1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-27 13:44:14 +01:00

fetcher: use .format for repr

This commit is contained in:
Johan Andersson 2018-05-25 22:47:48 +02:00
parent bbf2f82b79
commit 326a26aa21

View File

@ -22,7 +22,7 @@ class VideoRetriever(object):
self.output_extention = None
def __repr__(self):
return "<Video(fetcher=%s, bitrate=%s>" % (self.__class__.__name__, self.bitrate)
return "<Video(fetcher={}, bitrate={}>".format(self.__class__.__name__, self.bitrate)
@property
def name(self):