Skip to content
This repository has been archived by the owner on Apr 1, 2020. It is now read-only.

Commit

Permalink
prelease just arg
Browse files Browse the repository at this point in the history
  • Loading branch information
zrzka committed Oct 5, 2017
1 parent b963cfb commit 9df7a82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,8 @@ def _save_release_info(release):
_terminate('Failed to save installed version release info')


def _install():
release = _get_latest_release('--prerelease' in sys.argv)
def _install(prerelease=False):
release = _get_latest_release(prerelease)
if not release:
_error('Unable to find latest release')
return
Expand Down

0 comments on commit 9df7a82

Please sign in to comment.