1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 13:34:28 +00:00

Remove comment

This commit is contained in:
Steffo 2019-08-02 18:36:39 +02:00
parent 1d0338b511
commit 0a3311b4e3

View file

@ -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):