Skip to content

Commit

Permalink
Fix issue with installing from existing openh264 repo
Browse files Browse the repository at this point in the history
Fixes #166
  • Loading branch information
asdil12 committed Dec 15, 2023
1 parent 9f97354 commit 40461c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions opi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ def add_openh264_repo(dup=False):
url = f'http://codecs.opensuse.org/openh264/{project}/'
existing_repo = get_enabled_repo_by_url(url)
if existing_repo:
print(f"Installing from existing repo '{existing_repo['name']}'")
repo = existing_repo['alias']
print(f"Installing from existing repo '{existing_repo.name}'")
repo = existing_repo.alias
else:
repo = 'openh264'
print(f"Adding repo '{repo}'")
Expand Down

0 comments on commit 40461c4

Please sign in to comment.