Removed -f option, as it is irrelevant when converting from FLAC

This commit is contained in:
2022-03-17 15:34:07 -04:00
parent b41698ab65
commit 76e7beb27d
2 changed files with 5 additions and 19 deletions
+1 -14
View File
@@ -4,7 +4,6 @@
from os import path, system, walk
from pathlib import Path
from sys import argv
# utility functions
@@ -47,23 +46,11 @@ def scan_destination_convert_mp3():
def rg2sc(_file):
if argument.__contains__('-f'):
system(f"rg2sc -f {_file}")
else:
system(f"rg2sc {_file}")
system(f"rg2sc -f {_file}")
# program start sequence
# retrieve typed argument
argument_list = argv
i, argument = 0, ''
for _ in argument_list:
while i < len(argument_list) - 1:
i += 1
argument += argument_list[i] + ' '
argument = argument[:-1]
source = input('Source parent directory: ')
if source.endswith('/'):
source = source[:-1]