mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 21:54:17 +01:00
fetcher: use .format for repr
This commit is contained in:
parent
bbf2f82b79
commit
326a26aa21
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user