yaml
This commit is contained in:
parent
e43409d40c
commit
a23e0eb12c
2 changed files with 16 additions and 2 deletions
|
@ -7,7 +7,7 @@ from typing import Any
|
|||
from yt_dlp import YoutubeDL
|
||||
|
||||
from rwx import Object
|
||||
from rwx.fs import read_file_dict
|
||||
from rwx.fs import read_file_yaml
|
||||
from rwx.log import stream as log
|
||||
|
||||
TIMESTAMP = "%Y%m%d%H%M%S"
|
||||
|
@ -28,7 +28,7 @@ class Cache(Object):
|
|||
self.load()
|
||||
|
||||
def load(self) -> None:
|
||||
d = read_file_dict(self.root_file)
|
||||
d = read_file_yaml(self.root_file)
|
||||
log.info(d)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue