mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-03-10 05:34:36 +00:00
Only do cxfreeze workarounds under Windows.
This commit is contained in:
parent
83725667a4
commit
0782ba0dab
@ -11,12 +11,13 @@ from PyQt4.QtCore import QCoreApplication
|
|||||||
from PyQt4.QtGui import QApplication, QIcon, QPixmap
|
from PyQt4.QtGui import QApplication, QIcon, QPixmap
|
||||||
|
|
||||||
import base.dg_rc
|
import base.dg_rc
|
||||||
import base.cxfreeze_fix
|
|
||||||
|
|
||||||
from app import DupeGuru
|
from app import DupeGuru
|
||||||
|
|
||||||
# This is a workaround for a cxfreeze problem where compiled dupeguru can't read tiff files
|
if sys.platform == 'win32':
|
||||||
from PIL import TiffImagePlugin, TiffTags
|
import base.cxfreeze_fix
|
||||||
|
# This is a workaround for a cxfreeze problem where compiled dupeguru can't read tiff files
|
||||||
|
from PIL import TiffImagePlugin, TiffTags
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
app = QApplication(sys.argv)
|
app = QApplication(sys.argv)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user