1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-22 16:44:32 +01:00

Code style

This commit is contained in:
Sergio Kef 2020-04-23 20:42:55 +02:00
parent 4194bb0306
commit 66a3e4551d

View File

@ -57,8 +57,7 @@ class Archive(object):
def __contains__(self, item):
if not isinstance(item, str):
raise ValueError(
"An archive contains only strings. Provided {}".format(type(item))
)
"An archive contains only strings. Provided {}".format(type(item)))
if item not in self._data:
self._read_file()