diff options
-rwxr-xr-x | bin/fair-viewer | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/fair-viewer b/bin/fair-viewer index 8468f28..cb3bf05 100755 --- a/bin/fair-viewer +++ b/bin/fair-viewer @@ -3263,7 +3263,7 @@ sub download_video { # Convert the downloaded video if (defined $opt{convert_to}) { - my $convert_filename = "$naked_filename.$opt{convert_to}"; + my $convert_filename = catfile($opt{downloads_dir}, "$naked_filename.$opt{convert_to}"); my $convert_cmd = $opt{convert_cmd}; my %table = ( |