refactor for Pamac 9.0

source formatting
parent 86d1f853
__version__ = "2.0dev1"
__version__ = "1.2.1"
__all__ = ["browser", "__version__", "translation", "constants", "config"]
......@@ -27,7 +27,7 @@ import glob
import logging
import subprocess
gi.require_version("Pamac", "8.0")
gi.require_version("Pamac", "9.0")
from gi.repository import Pamac
from application_utility.translation import i18n
......
......@@ -160,7 +160,7 @@ class Data:
use pamac/appstream for locale description
"""
app['appstream'] = False
detail = db.get_pkg_details(app['pkg'], app['name'], False)
detail = db.get_pkg(app['pkg'])
if detail:
app['appstream'] = True
d = detail.get_desc()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment