Skip to content

Commit

Permalink
fix ampm search browser opening, bump version to v1.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Wazzaps committed May 15, 2023
1 parent 1bd94a6 commit 503b757
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ampm/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.5.1'
__version__ = '1.5.2'
4 changes: 3 additions & 1 deletion ampm/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,9 @@ def search(ctx: click.Context):
with open(fd, 'w') as f:
f.write(_index_web_format_artifact_metadata(artifacts, index_webpage_template.read_text(), ''))

subprocess.call(['xdg-open', filename])
env = os.environ.copy()
env.pop('LD_LIBRARY_PATH', None)
subprocess.call(['xdg-open', filename], env=env)


@cli.command()
Expand Down

0 comments on commit 503b757

Please sign in to comment.