mirror of
https://github.com/arsenetar/dupeguru.git
synced 2026-01-22 06:37:17 +00:00
With PyQt 4.7.5's new from_imports option, sys.path hackage is not required anymore.
This commit is contained in:
@@ -463,7 +463,7 @@
|
||||
<customwidget>
|
||||
<class>ResultsView</class>
|
||||
<extends>QTreeView</extends>
|
||||
<header>results_model</header>
|
||||
<header>.results_model</header>
|
||||
</customwidget>
|
||||
</customwidgets>
|
||||
<resources>
|
||||
|
||||
@@ -15,11 +15,6 @@ from PyQt4.QtGui import QApplication, QIcon, QPixmap
|
||||
|
||||
import base.dg_rc
|
||||
|
||||
if sys.platform == 'linux2':
|
||||
# Under Python3, we have to add 'base' to pythonpath because UI files don't use
|
||||
# relative imports.
|
||||
sys.path.append(os.path.dirname(base.dg_rc.__file__))
|
||||
|
||||
from app import DupeGuru
|
||||
|
||||
if sys.platform == 'win32':
|
||||
|
||||
Reference in New Issue
Block a user