mirror of
https://github.com/ciromattia/kcc
synced 2026-01-06 05:19:39 +00:00
Changed upscale algorithm to bicubic + little code cleanup
This commit is contained in:
2
kcc.py
2
kcc.py
@@ -34,6 +34,7 @@ except ImportError:
|
||||
from kcc import KCC_gui
|
||||
from multiprocessing import freeze_support
|
||||
if sys.platform.startswith('darwin'):
|
||||
# Workaround Finder-launched app PATH evaluation
|
||||
os.environ['PATH'] = '/usr/local/bin:' + os.environ['PATH']
|
||||
from kcc import KCC_ui_osx as KCC_ui
|
||||
elif sys.platform.startswith('linux'):
|
||||
@@ -47,6 +48,7 @@ else:
|
||||
from kcc import KCC_ui
|
||||
|
||||
|
||||
# Implementing detection of already running KCC instance and forwarding argv to it
|
||||
class QApplicationMessaging(QtGui.QApplication):
|
||||
def __init__(self, argv):
|
||||
QtGui.QApplication.__init__(self, argv)
|
||||
|
||||
Reference in New Issue
Block a user