Missed a colon.
This commit is contained in:
parent
7ab4a79721
commit
9fb2223e74
|
|
@ -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")
|
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 sys.version_info < (2, 6):
|
||||||
if x==5: # which is the error value returned when linking libjpeg fails
|
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'""")
|
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")
|
x = os.system("swfc/swfc_"+svlgui.PLATFORM+" "+os.getenv('HOME')+"/test.sc -o "+os.getenv('HOME')+"/test.swf")
|
||||||
if x==5:
|
if x==5:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue