autopep (added explicit encoding for from-file)

This commit is contained in:
Jamie Hardt
2025-05-25 08:29:57 -07:00
parent 549f49da31
commit 4989832247

View File

@@ -146,7 +146,8 @@ def main():
mode_given = True
if options.from_file:
with open(options.from_file, 'r') as from_file:
with open(options.from_file, mode='r',
encoding='utf-8') as from_file:
flac_files = from_file.readlines()
else:
flac_files = glob('./**/*.flac', recursive=True)