Simplify module import
This commit is contained in:
parent
5789c8a870
commit
33c9a1c584
|
@ -126,12 +126,12 @@ class GajimApplication(Gtk.Application):
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
# Create and initialize Application Paths & Databases
|
# Create and initialize Application Paths & Databases
|
||||||
import common.configpaths
|
from common import configpaths
|
||||||
common.configpaths.gajimpaths.init(
|
configpaths.gajimpaths.init(
|
||||||
self.config_path, self.profile, self.profile_separation)
|
self.config_path, self.profile, self.profile_separation)
|
||||||
|
|
||||||
if hasattr(sys, 'frozen'):
|
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 gajim
|
||||||
from common import check_paths
|
from common import check_paths
|
||||||
|
|
Loading…
Reference in New Issue