cpu-name.krk: int() is base 10 by default now; specify 0
This commit is contained in:
parent
42eb9c35b5
commit
c24cdd028e
@ -44,6 +44,6 @@ else if cpus and 'PartNum' in cpus[0]:
|
|||||||
0x023: 'M1', # Firestorm core
|
0x023: 'M1', # Firestorm core
|
||||||
}
|
}
|
||||||
print(
|
print(
|
||||||
manuf.get(int(cpus[0]['Implementer']),cpus[0]['Implementer']),
|
manuf.get(int(cpus[0]['Implementer'],0),cpus[0]['Implementer']),
|
||||||
parts.get(int(cpus[0]['PartNum']),cpus[0]['PartNum'])
|
parts.get(int(cpus[0]['PartNum'],0),cpus[0]['PartNum'])
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user