Skip to content

Commit e84d29b

Browse files
authored
fix: make digital item download artist safe; fixes #20 (#21)
1 parent 06851d6 commit e84d29b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/structs/digital_item.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ impl DigitalItem {
6060

6161
pub fn destination_path<P: AsRef<Path>>(&self, root: P) -> String {
6262
root.as_ref()
63-
.join(&self.artist)
63+
.join(make_string_fs_safe(&self.artist))
6464
.join(format!(
6565
"{} ({})",
6666
make_string_fs_safe(&self.title),

0 commit comments

Comments
 (0)