about summary refs log tree commit diff
path: root/kcc.py
diff options
context:
space:
mode:
authorCiro Mattia Gonano <ciromattia@gmail.com>2013-01-28 11:59:43 +0100
committerCiro Mattia Gonano <ciromattia@gmail.com>2013-01-28 11:59:43 +0100
commit74a93f1e507ae4bb2e1620cf5169fad62dbf8086 (patch)
tree9b5e5b84c593d09352e63709f58aff42b8a7648a /kcc.py
parentUpdate rarfile.py from https://github.com/markokr/rarfile (diff)
downloadkcc-74a93f1e507ae4bb2e1620cf5169fad62dbf8086.tar.gz
kcc-74a93f1e507ae4bb2e1620cf5169fad62dbf8086.tar.bz2
kcc-74a93f1e507ae4bb2e1620cf5169fad62dbf8086.zip
Added MANIFEST.in, ugly fix for OSX not evaluating user local $PATH on app launched from Finder.
Diffstat (limited to 'kcc.py')
-rw-r--r--kcc.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/kcc.py b/kcc.py
index 8594a43..e2e6a87 100644
--- a/kcc.py
+++ b/kcc.py
@@ -38,7 +38,11 @@ __docformat__ = 'restructuredtext en'
 
 from Tkinter import *
 from kcc import gui
+from sys import platform
+import os
 
+if platform == 'darwin':
+    os.environ['PATH'] = '/usr/local/bin:' + os.environ['PATH']
 root = Tk()
 app = gui.MainWindow(master=root,title="Kindle Comic Converter v" + __version__)
 root.tkraise()