diff options
author | Papoteur <papoteur@mageialinux-online.org> | 2016-05-05 15:37:10 +0200 |
---|---|---|
committer | Papoteur <papoteur@mageialinux-online.org> | 2016-05-05 15:37:10 +0200 |
commit | 1cecfb0ea6425b923b15920501b68b3a4ee3b02e (patch) | |
tree | 79e15fe78321d718a66257b30eb77146cfc4818c | |
parent | 1a1d6dbf9f3e8bae3c2181bab4aee82cf839c8b4 (diff) | |
download | MageiaSync-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.py | 24 |
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 ): |