Bulk asynchronous downloader for multiple file hosts
Python asynciobunkrcyberdropdownloaderdropboxfilestergofilegoogle-drivemediafiremegamega-nzonedrivepatreonpawchivepinterestpixeldraintransfer-ittwitchtwittervk
fix: single cmd editor
NTFSvolume2fb8e9a0d617
diff --git a/cyberdrop_dl/utils/text_editor.py b/cyberdrop_dl/utils/text_editor.pyindex 23bb825ba..d9d08d24d 100644--- a/cyberdrop_dl/utils/text_editor.py+++ b/cyberdrop_dl/utils/text_editor.py@@ -9,10 +9,9 @@ import sysfrom typing import TYPE_CHECKING, finalif TYPE_CHECKING:- from collections.abc import Sequencefrom pathlib import Path-type CMD = Sequence[str]+type CMD = list[str] | tuple[str, ...]# Ordered by preference_UNIX_TEXT_EDITORS: tuple[CMD, ...] = (@@ -52,7 +51,7 @@ def editor_cmd() -> CMD | None:def _editor_cmd() -> CMD | None:if editor := os.environ.get("EDITOR"):if cmd := shutil.which(editor):- return cmd+ return (cmd,)import shlex