YunoHost / package_check

Shell script which check package actions: install, remove, upgrade, backup, restore…
GNU General Public License v3.0
21 stars 25 forks source link

Fix get_default_values #148

Closed Salamandar closed 9 months ago

Salamandar commented 9 months ago

For choices, default value is the first of either list or dict.

The current code is buggy because isinstance() requires a variable and a type.