Run black formatter on the whole codebase (#460)

This commit is contained in:
Ritiek Malhotra
2019-01-02 19:22:50 +00:00
committed by GitHub
parent 8c3c4c251b
commit b58c4775f2
3 changed files with 10 additions and 5 deletions

View File

@@ -11,7 +11,7 @@ logzero.setup_default_logger(formatter=_formatter, level=_log_level)
# Options
# Initialize an empty object which can be assigned attributes
# (useful when using spotdl as a library)
args = type('', (), {})()
args = type("", (), {})()
# Apple has specific tags - see mutagen docs -
# http://mutagen.readthedocs.io/en/latest/api/mp4.html

View File

@@ -49,7 +49,9 @@ class Converter:
# FFmpeg/avconv cannot have the same file for both input and output
# This would happen when the extensions are same, so rename
# the input track to append ".temp"
log.debug('Input file and output file are going will be same during encoding, will append ".temp" to input file just before starting encoding to avoid conflict')
log.debug(
'Input file and output file are going will be same during encoding, will append ".temp" to input file just before starting encoding to avoid conflict'
)
input_song = output_song + ".temp"
rename_to_temp = True
delete_original = True