mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 13:34:28 +00:00
Remove comment
This commit is contained in:
parent
1d0338b511
commit
0a3311b4e3
1 changed files with 1 additions and 2 deletions
|
@ -28,8 +28,7 @@ class YtdlFile:
|
||||||
return self.info is not None
|
return self.info is not None
|
||||||
|
|
||||||
def is_downloaded(self) -> bool:
|
def is_downloaded(self) -> bool:
|
||||||
# FIXME: Weird characters break everything
|
return self.filename is not None
|
||||||
return self.filename is not None and os.path.exists(self.filename)
|
|
||||||
|
|
||||||
@contextlib.contextmanager
|
@contextlib.contextmanager
|
||||||
def open(self):
|
def open(self):
|
||||||
|
|
Loading…
Reference in a new issue