mirror of
https://github.com/iluvcapra/mfbatch.git
synced 2025-12-31 08:50:51 +00:00
autopep
This commit is contained in:
@@ -29,7 +29,7 @@ def execute_batch_list(batch_list_path: str, dry_run: bool, interactive: bool):
|
|||||||
parser.eval(line, line_no, interactive)
|
parser.eval(line, line_no, interactive)
|
||||||
|
|
||||||
|
|
||||||
def create_batch_list(flac_files: List[str], command_file: str,
|
def create_batch_list(flac_files: List[str], command_file: str,
|
||||||
sort_mode='path'):
|
sort_mode='path'):
|
||||||
"""
|
"""
|
||||||
Read all FLAC files in the cwd and create a batchfile that re-creates all
|
Read all FLAC files in the cwd and create a batchfile that re-creates all
|
||||||
@@ -151,7 +151,8 @@ def main():
|
|||||||
else:
|
else:
|
||||||
flac_files = glob('./**/*.flac', recursive=True)
|
flac_files = glob('./**/*.flac', recursive=True)
|
||||||
|
|
||||||
create_batch_list(flac_files, options.batchfile, sort_mode=options.sort)
|
create_batch_list(flac_files, options.batchfile,
|
||||||
|
sort_mode=options.sort)
|
||||||
|
|
||||||
if options.edit:
|
if options.edit:
|
||||||
mode_given = True
|
mode_given = True
|
||||||
|
|||||||
Reference in New Issue
Block a user