Cosmetics, remove unused variable

This commit is contained in:
hygienic-books 2022-03-19 08:51:31 +01:00
parent 601583afc3
commit 3f6bc46d52

View File

@ -518,7 +518,6 @@ def copy_url(
dest_dir = expanded_dest_dir(config_obj.get(section_name, "dl_dir")) dest_dir = expanded_dest_dir(config_obj.get(section_name, "dl_dir"))
dest_path = os.path.join(dest_dir, filename) dest_path = os.path.join(dest_dir, filename)
show_name = f"{show.topic} - {show.title}" show_name = f"{show.topic} - {show.title}"
publish_date = d.datetime.utcfromtimestamp(show.timestamp).strftime('%Y%m%d')
os.makedirs(os.path.dirname(dest_path), exist_ok=True) os.makedirs(os.path.dirname(dest_path), exist_ok=True)
# TODO quit # TODO quit