Simplify module import

This commit is contained in:
Philipp Hörist 2017-02-11 23:40:42 +01:00
parent 5789c8a870
commit 33c9a1c584
1 changed files with 3 additions and 3 deletions

View File

@ -126,12 +126,12 @@ class GajimApplication(Gtk.Application):
sys.exit(1)
# Create and initialize Application Paths & Databases
import common.configpaths
common.configpaths.gajimpaths.init(
from common import configpaths
configpaths.gajimpaths.init(
self.config_path, self.profile, self.profile_separation)
if hasattr(sys, 'frozen'):
self.frozen_logging(common.configpaths.gajimpaths.config_root)
self.frozen_logging(configpaths.gajimpaths.config_root)
from common import gajim
from common import check_paths