YunoHost / package_check

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

Fix get_default_values #148

Closed Salamandar closed 10 months ago

Salamandar commented 10 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.