Cleanup all imports

* Should fix problems with needing to do inline imports
This commit is contained in:
JonnyWong16 2016-05-07 11:26:00 -07:00
parent 600bca7e8b
commit f4e719749a
40 changed files with 256 additions and 145 deletions

View file

@ -14,7 +14,14 @@
# along with PlexPy. If not, see <http://www.gnu.org/licenses/>.
import plexpy
from plexpy import logger, datatables, common, database, helpers, session
import common
import database
import datatables
import helpers
import logger
import plextv
import session
class Users(object):
@ -254,8 +261,6 @@ class Users(object):
logger.warn(u"PlexPy Users :: Unable to execute database query for set_config: %s." % e)
def get_details(self, user_id=None, user=None, email=None):
from plexpy import plextv
default_return = {'user_id': 0,
'username': 'Local',
'friendly_name': 'Local',