Skip to content

Commit

Permalink
enable osascript again
Browse files Browse the repository at this point in the history
  • Loading branch information
randomknowledge committed Aug 6, 2013
1 parent 783083b commit d3f806d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cactus/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import socket


VERSION = "1.5.5"
VERSION = "1.5.6"

socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
socket.settimeout(5)
Expand Down
3 changes: 0 additions & 3 deletions cactus/browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,12 @@


def applescript(input):
return
"""
# Bail if we're not on mac os for now
if platform.system() != "Darwin":
return

command = "osascript<<END%sEND" % input
return run_subprocess(command)
"""


def _insertJavascript(urlMatch, js):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def run_tests(self):

setup(
name='Cactus',
version="1.5.5",
version="1.5.6",
description="Static site generation and deployment.",
long_description=__doc__,
url='http://github.com/randomknowledge/Cactus_Refactored',
Expand Down

0 comments on commit d3f806d

Please sign in to comment.