From 0635990d67a0c56364d0648698604223add5cc48 Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Fri, 9 Sep 2016 17:24:34 -0500 Subject: [PATCH] Fix import error on ubuntu For some reason, it doesn't seem to like making submodules available from within the __init__.py file --- resources/lib/connectmanager.py | 6 +++++- resources/lib/dialog/__init__.py | 5 ----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/resources/lib/connectmanager.py b/resources/lib/connectmanager.py index 75303d53..68086193 100644 --- a/resources/lib/connectmanager.py +++ b/resources/lib/connectmanager.py @@ -10,7 +10,11 @@ import xbmcaddon import clientinfo import read_embyserver as embyserver import connect.connectionmanager as connectionmanager -from dialog import ServerConnect, UsersConnect, LoginConnect, LoginManual, ServerManual +from dialog.serverconnect import ServerConnect +from dialog.usersconnect import UsersConnect +from dialog.loginconnect import LoginConnect +from dialog.loginmanual import LoginManual +from dialog.servermanual import ServerManual ################################################################################################## diff --git a/resources/lib/dialog/__init__.py b/resources/lib/dialog/__init__.py index b6c69bf6..b93054b3 100644 --- a/resources/lib/dialog/__init__.py +++ b/resources/lib/dialog/__init__.py @@ -1,6 +1 @@ # Dummy file to make this directory a package. -from serverconnect import ServerConnect -from usersconnect import UsersConnect -from loginconnect import LoginConnect -from loginmanual import LoginManual -from servermanual import ServerManual