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,10 +11,11 @@ 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
|
||||||
|
|
||||||
|
if sys.platform == 'win32':
|
||||||
|
import base.cxfreeze_fix
|
||||||
# This is a workaround for a cxfreeze problem where compiled dupeguru can't read tiff files
|
# This is a workaround for a cxfreeze problem where compiled dupeguru can't read tiff files
|
||||||
from PIL import TiffImagePlugin, TiffTags
|
from PIL import TiffImagePlugin, TiffTags
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user