mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-22 16:44:32 +01:00
Code style
This commit is contained in:
parent
4194bb0306
commit
66a3e4551d
@ -57,8 +57,7 @@ class Archive(object):
|
|||||||
def __contains__(self, item):
|
def __contains__(self, item):
|
||||||
if not isinstance(item, str):
|
if not isinstance(item, str):
|
||||||
raise ValueError(
|
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:
|
if item not in self._data:
|
||||||
self._read_file()
|
self._read_file()
|
||||||
|
Loading…
Reference in New Issue
Block a user