mirror of
https://github.com/bellingcat/auto-archiver.git
synced 2026-06-13 05:38:29 +03:00
Further fixes/changes to loading 'types' for config + manifest edits
This commit is contained in:
@@ -1 +1 @@
|
||||
from .local import LocalStorage
|
||||
from .local_storage import LocalStorage
|
||||
@@ -11,9 +11,10 @@ from auto_archiver.base_processors import Storage
|
||||
class LocalStorage(Storage):
|
||||
name = "local_storage"
|
||||
|
||||
def __init__(self, config: dict) -> None:
|
||||
super().__init__(config)
|
||||
os.makedirs(self.save_to, exist_ok=True)
|
||||
def __init__(self) -> None:
|
||||
super().__init__()
|
||||
# TODO: fix up passing config values to 'steps'
|
||||
# os.makedirs(self.save_to, exist_ok=True)
|
||||
|
||||
def get_cdn_url(self, media: Media) -> str:
|
||||
# TODO: is this viable with Storage.configs on path/filename?
|
||||
Reference in New Issue
Block a user