Skip to content

Commit

Permalink
Merge pull request #27 from cs50/develop
Browse files Browse the repository at this point in the history
adds support for 33%,33%,33%
  • Loading branch information
dmalan authored Dec 18, 2017
2 parents 815a006 + 0dd375f commit 6b1fe22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion render50
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def main():
file = open(args.input[0], "rb")
page = file.read().decode("utf-8", "ignore")
soup = BeautifulSoup(page, "html.parser")
framesets = soup.find_all("frameset", {"cols": re.compile("50%,\s*50%")})
framesets = soup.find_all("frameset", {"cols": re.compile("(50%,\s*50%|33%,\s*33%,\s*33%)")})
assert len(framesets) == 1
frames = framesets[0].find_all("frame")
assert 2 <= len(frames) <= 3
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
name="render50",
scripts=["render50"],
url="https://github.com/cs50/render50",
version="2.4.0"
version="2.4.1"
)

0 comments on commit 6b1fe22

Please sign in to comment.