Move libraries import

This commit is contained in:
angelblue05 2019-01-30 06:42:06 -06:00
parent 3ea6890c34
commit b2bc90cb06
209 changed files with 36 additions and 14941 deletions

View file

@ -14,8 +14,8 @@ import api
import database
import client
import collections
import requests
from . import _, settings, window, dialog
from libraries import requests
from downloader import TheVoid
from emby import Emby

View file

@ -17,6 +17,7 @@ import xbmcgui
import xbmcvfs
from . import _
from dateutil import tz, parser
#################################################################################################
@ -449,8 +450,6 @@ def convert_to_local(date):
''' Convert the local datetime to local.
'''
from libraries.dateutil import tz, parser
try:
date = parser.parse(date) if type(date) in (unicode, str) else date
date = date.replace(tzinfo=tz.tzutc())