From 9fb2223e74277fd6b50e4f7cfd3ca5f7ca623bf3 Mon Sep 17 00:00:00 2001 From: Skyler Lehmkuhl Date: Tue, 8 Jan 2013 16:17:44 -0500 Subject: [PATCH] Missed a colon. --- lightningbeam.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightningbeam.py b/lightningbeam.py index 12b368b..7126d50 100755 --- a/lightningbeam.py +++ b/lightningbeam.py @@ -331,7 +331,7 @@ def run_file(self=None): x = os.system("swfc/swfc_"+svlgui.PLATFORM+" "+os.getenv('HOME')+"/test.sc -o "+os.getenv('HOME')+"/test.swf") if sys.version_info < (2, 6): if x==5: # which is the error value returned when linking libjpeg fails - if svlgui.alert("You appear to be missing libjpeg. Install it?", confirm=True) + if svlgui.alert("You appear to be missing libjpeg. Install it?", confirm=True): os.system("""osascript -e 'do shell script "mkdir -p /usr/local/lib; cp swfc/libjpeg.8.dylib /usr/local/lib" with administrator privileges'""") x = os.system("swfc/swfc_"+svlgui.PLATFORM+" "+os.getenv('HOME')+"/test.sc -o "+os.getenv('HOME')+"/test.swf") if x==5: