Commit 5412ed38 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_pdm: Fix Call to Base_getNewsDict

Contributed by Luke
parent 1d50fc4d
......@@ -36,6 +36,6 @@ if len(full_software_installation_list) > 0 and \
len(full_software_installation_list) == len(set(computer_list)):
# Software is available for the root instance
software_installation = full_software_installation_list[0]
message = software_installation.Base_getNewsDict()['text']
message = software_installation.Base_getNewsDict(software_installation)['text']
if message.startswith("#access"):
return True
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment