mirror of
https://github.com/Benexl/FastAnime.git
synced 2026-01-06 01:37:19 -08:00
chore:switch to poetry as build tool and package manager
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import subprocess
|
||||
import logging
|
||||
import shutil
|
||||
import subprocess
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
@@ -19,15 +19,17 @@ def fzf(options, prompt="Select Anime: ", *custom_commands):
|
||||
return None
|
||||
|
||||
result = subprocess.run(
|
||||
[
|
||||
FZF,
|
||||
"--reverse",
|
||||
"--cycle",
|
||||
"--prompt",
|
||||
prompt,
|
||||
]
|
||||
if not custom_commands
|
||||
else [FZF, *custom_commands],
|
||||
(
|
||||
[
|
||||
FZF,
|
||||
"--reverse",
|
||||
"--cycle",
|
||||
"--prompt",
|
||||
prompt,
|
||||
]
|
||||
if not custom_commands
|
||||
else [FZF, *custom_commands]
|
||||
),
|
||||
input=options_str,
|
||||
text=True,
|
||||
stdout=subprocess.PIPE,
|
||||
|
||||
Reference in New Issue
Block a user