1
0
mirror of https://github.com/altlinux/gpupdate.git synced 2025-03-21 18:50:38 +03:00

Added handling of empty data

This commit is contained in:
Valery Sinelnikov 2023-10-26 12:39:41 +04:00
parent 1ca9b006e1
commit 0519d2703c

View File

@ -64,7 +64,7 @@ def check_enabled(storage, module_name, is_experimental):
result = False
if None == module_enabled:
if None == module_enabled or None == module_enabled.data:
if is_experimental and exp_enabled:
result = True
if not is_experimental: