Skip to content

Commit

Permalink
Bugfix in download_ogs for PETSC; version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
MuellerSeb committed Aug 22, 2019
1 parent 2470a12 commit 552503b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ogs5py/_version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# -*- coding: utf-8 -*-
"""Provide a central version"""
__version__ = "1.0.1.dev0"
__version__ = "1.0.1"
2 changes: 1 addition & 1 deletion ogs5py/tools/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def get_links(url, ext, build=None):
for link in dom.xpath("//a/@href"):
if not link or not link.endswith(ext):
continue # skip unwanted
if build is None or "build_" + build in link:
if build is None or "build_" + build + "/" in link:
sublinks.append(
url + link if not link.startswith("http") else link
)
Expand Down

0 comments on commit 552503b

Please sign in to comment.