Skip to content

Commit

Permalink
Fix check command
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumebort committed Oct 29, 2010
1 parent acf2bc9 commit b097cc3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions framework/pym/play/commands/check.py
Expand Up @@ -65,6 +65,7 @@ def __init__(self, strversion):
self.numpart = re.findall(r"\d+[\.\d+]+", strversion)[0]
self.rest = strversion.replace(self.numpart, "")
self.versions = map(lambda x: int(x), self.numpart.split("."))
if not self.rest: self.rest = "Z" # Hack for final release

def url(self):
return "http://download.playframework.org/releases/play-" + self.strversion + ".zip"
Expand Down

0 comments on commit b097cc3

Please sign in to comment.