Skip to content

Commit

Permalink
[py] Adopt metadata changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ManuelSchneid3r committed Oct 1, 2023
1 parent 5e3fa8e commit 1dc55b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ albert_plugin(
MAINTAINERS @manuelschneid3r
QT_DEPENDENCIES Widgets
CREDITS "pybind11 BSD-3-Clause"
NOUNLOAD
)

find_package(Python3 COMPONENTS Interpreter Development)
Expand Down
2 changes: 1 addition & 1 deletion python/src/pypluginloader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ PyPluginLoader::PyPluginLoader(Plugin &provider, const QFileInfo &file_info)
if (py::object obj = ast.attr("get_docstring")(ast_root); py::isinstance<py::str>(obj))
metadata_.long_description = obj.cast<py::str>().cast<QString>();

metadata_.user = true;
metadata_.load_type = LoadType::User;

// Validate metadata

Expand Down

0 comments on commit 1dc55b9

Please sign in to comment.