From b12a7077a856e20e1917714fa47fab8c74708d87 Mon Sep 17 00:00:00 2001 From: Tal <83217276+talwat@users.noreply.github.com> Date: Sun, 27 Oct 2024 13:20:38 +0100 Subject: [PATCH] fix: tracklist shorthand not working --- src/tracks/list.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/tracks/list.rs b/src/tracks/list.rs index f1a0220..2e2e26e 100644 --- a/src/tracks/list.rs +++ b/src/tracks/list.rs @@ -75,8 +75,7 @@ impl List { let name = dirs::data_dir() .unwrap() .join("lowfi") - .join(arg) - .join(".txt"); + .join(format!("{}.txt", arg)); let raw = if name.exists() { fs::read_to_string(name).await?