Feat flake8 strength (#209)

* remove warnings from flake
This commit is contained in:
Markos Gogoulos
2021-06-03 18:26:53 +03:00
committed by GitHub
parent 748d4bae4b
commit 7bda0acd8b
7 changed files with 12 additions and 16 deletions

View File

@@ -381,7 +381,6 @@ def media_file_info(input_file):
}
if has_audio:
audio_duration = 1
if "duration" in audio_info.keys():
audio_duration = float(audio_info["duration"])
elif "tags" in audio_info.keys() and "DURATION" in audio_info["tags"]: