Skip to content

Commit

Permalink
v0.3.1 - Committing fix for ReadTheDocs
Browse files Browse the repository at this point in the history
  • Loading branch information
moogar0880 committed Sep 15, 2014
1 parent 73420d3 commit 1c4036e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
5 changes: 5 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
Release History
---------------
0.3.1 (2014-09-14)
++++++++++++++++++

* Bug fix to keep RTD happy

0.3.0 (2014-09-14)
++++++++++++++++++

Expand Down
2 changes: 1 addition & 1 deletion subler/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from .subler import *

version_info = (0, 3, 0)
version_info = (0, 3, 1)

__author__ = 'Jon Nappi'
__version__ = '.'.join([str(x) for x in version_info])
6 changes: 5 additions & 1 deletion subler/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ def subler_executable():
"""Find a localized subler executable and return it's path. If no executable
can be found, None is returned
"""
executable = subprocess.check_output('which SublerCLI', shell=True).strip()
try:
executable = subprocess.check_output('which SublerCLI',
shell=True).strip()
except subprocess.CalledProcessError:
return ''
if sys.version_info[0] == 3:
executable = executable.decode('UTF-8')
if executable == '':
Expand Down

0 comments on commit 1c4036e

Please sign in to comment.