Improve model

This commit is contained in:
2025-05-07 20:22:05 -06:00
parent 492f054e23
commit 62e933448c
16 changed files with 32 additions and 36 deletions
+3 -1
View File
@@ -1,3 +1,5 @@
use std::path::Path;
use flix_tmdb::Client;
use anyhow::{Context, Result};
@@ -41,7 +43,7 @@ async fn main() -> Result<()> {
let output = output
.as_ref()
.map(|p| p.as_path())
.unwrap_or(object.default_filename());
.unwrap_or(Path::new("flix.toml"));
let mut file = if *force {
fs::File::create(output).await