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:
parent
1ca9b006e1
commit
0519d2703c
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user