Skip to content

Commit

Permalink
Cleanup to remove unnecessary python imports MythTV#654
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveErl committed Nov 4, 2022
1 parent 3b8037c commit de496f8
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions mythtv/programs/scripts/metadata/Television/tvmaze.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ def get_show_art_lists(tvmaze_show_id):
def buildList(tvtitle, opts):
# option -M title
from lxml import etree
from MythTV import VideoMetadata, datetime
from MythTV.utility import levenshtein
from MythTV import VideoMetadata
from MythTV.tvmaze import tvmaze_api as tvmaze
from MythTV.tvmaze import locales

Expand Down Expand Up @@ -354,10 +353,7 @@ def buildSingle(args, opts, tvmaze_episode_id=None):
# option -D inetref season episode

from lxml import etree
from MythTV import VideoMetadata, datetime
from MythTV.utility import levenshtein
from MythTV.tvmaze import tvmaze_api as tvmaze
from MythTV.tvmaze import locales

if opts.debug:
dstr = "Function 'buildSingle' called with arguments: " + \
Expand Down Expand Up @@ -507,8 +503,7 @@ def buildSingleItem(inetref, season, episode_id):
def buildCollection(tvinetref, opts):
# option -C inetref
from lxml import etree
from MythTV import VideoMetadata, datetime
from MythTV.utility import levenshtein
from MythTV import VideoMetadata
from MythTV.tvmaze import tvmaze_api as tvmaze
from MythTV.tvmaze import locales

Expand Down

0 comments on commit de496f8

Please sign in to comment.