aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageialinux-online.org>2016-05-05 15:37:10 +0200
committerPapoteur <papoteur@mageialinux-online.org>2016-05-05 15:37:10 +0200
commit1cecfb0ea6425b923b15920501b68b3a4ee3b02e (patch)
tree79e15fe78321d718a66257b30eb77146cfc4818c
parent1a1d6dbf9f3e8bae3c2181bab4aee82cf839c8b4 (diff)
downloadMageiaSync-1cecfb0ea6425b923b15920501b68b3a4ee3b02e.tar
MageiaSync-1cecfb0ea6425b923b15920501b68b3a4ee3b02e.tar.gz
MageiaSync-1cecfb0ea6425b923b15920501b68b3a4ee3b02e.tar.bz2
MageiaSync-1cecfb0ea6425b923b15920501b68b3a4ee3b02e.tar.xz
MageiaSync-1cecfb0ea6425b923b15920501b68b3a4ee3b02e.zip
The import function are yet working also locally
-rw-r--r--mageiaSync/mageiasync.py24
1 files changed, 16 insertions, 8 deletions
diff --git a/mageiaSync/mageiasync.py b/mageiaSync/mageiasync.py
index 7912722..e50793f 100644
--- a/mageiaSync/mageiasync.py
+++ b/mageiaSync/mageiasync.py
@@ -6,14 +6,22 @@ from PyQt5.QtGui import ( QStandardItemModel,QStandardItem, QDesktopServices,
from PyQt5.QtCore import ( QLibraryInfo, QUrl, QItemSelectionModel )
from PyQt5 import QtCore # , Qt, QThread, QObject, pyqtSignal)
import sys
-from . import mageiaSyncUI
-from . import mageiaSyncExt
-from . import mageiaSyncDBprefs
-from . import mageiaSyncDBprefs0
-from . import mageiaSyncDBrename
-from . import mageiaSyncAbout
-from . import mageiaSyncCredits
-
+try:
+ from . import mageiaSyncUI
+ from . import mageiaSyncExt
+ from . import mageiaSyncDBprefs
+ from . import mageiaSyncDBprefs0
+ from . import mageiaSyncDBrename
+ from . import mageiaSyncAbout
+ from . import mageiaSyncCredits
+except:
+ import mageiaSyncUI
+ import mageiaSyncExt
+ import mageiaSyncDBprefs
+ import mageiaSyncDBprefs0
+ import mageiaSyncDBrename
+ import mageiaSyncAbout
+ import mageiaSyncCredits
class prefsDialog(QDialog,mageiaSyncDBprefs.Ui_prefsDialog ):