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
|
||||
|
||||
import base.dg_rc
|
||||
import base.cxfreeze_fix
|
||||
|
||||
from app import DupeGuru
|
||||
|
||||
# This is a workaround for a cxfreeze problem where compiled dupeguru can't read tiff files
|
||||
from PIL import TiffImagePlugin, TiffTags
|
||||
if sys.platform == 'win32':
|
||||
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__":
|
||||
app = QApplication(sys.argv)
|
||||
|
Loading…
x
Reference in New Issue
Block a user