Skip to content

Commit

Permalink
fixing code smells
Browse files Browse the repository at this point in the history
  • Loading branch information
shitwolfymakes committed Apr 14, 2022
1 parent d6fd46b commit bae6deb
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions arm/ripper/identify.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# Identification of dvd/bluray

import os
import sys # noqa # pylint: disable=unused-import
import logging
import urllib
import re
Expand All @@ -16,12 +15,10 @@
from arm.ripper import utils
from arm.ui import db

# flake8: noqa: W605
# from arm.ui.utils import call_omdb_api, tmdb_search
import arm.ui.utils as u


def identify(job, logfile):
def identify(job):
"""Identify disc attributes"""

logging.debug(f"Identify Entry point --- job ---- \n\r{job.pretty_table()}")
Expand Down Expand Up @@ -146,7 +143,6 @@ def identify_dvd(job):
'video_type_auto': x['results']['0']['video_type'],
}
utils.database_updater(args, job)
# return True
except Exception as e:
logging.error("Pydvdid failed with the error: " + str(e))
dvd_title = fallback_title = str(job.label)
Expand Down

0 comments on commit bae6deb

Please sign in to comment.