Skip to content

Commit a64ea5c

Browse files
committed
Fix crash when looking up a CPU in the Knowledge section
Thanks: hexagonrecursion Closes: singularity#347
1 parent 57013b6 commit a64ea5c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

singularity/code/item.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ def get_quality_info(self, if_installed_in_base=None, count=1):
157157
for qual, value in self.item_qual.items():
158158
if qual == "cpu":
159159
current_value = value
160+
pending_value = value
160161
modifier = 10000
161162
pending_modifier = 10000
162163
if if_installed_in_base is not None:

0 commit comments

Comments
 (0)