1
0
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:
Paweł Jastrzębski
2013-10-11 11:15:21 +02:00
parent c8933e7326
commit c3b8d48813
3 changed files with 18 additions and 5 deletions

2
kcc.py
View File

@@ -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)