mirror of
https://github.com/Steffo99/estus.git
synced 2024-11-21 23:24:18 +00:00
🐟 Fixes
This commit is contained in:
parent
3d54a2db88
commit
cd1d730fc1
1 changed files with 2 additions and 2 deletions
|
@ -762,9 +762,9 @@ def page_pheesh():
|
||||||
pesci.append(Pesce(obj.nomeimpiegato, 1, 0.3, f"/imp_list"))
|
pesci.append(Pesce(obj.nomeimpiegato, 1, 0.3, f"/imp_list"))
|
||||||
for obj in dispositivi:
|
for obj in dispositivi:
|
||||||
random.seed(hash(obj.did))
|
random.seed(hash(obj.did))
|
||||||
if obj.marca is not None and obj.modello is not None:
|
if obj.marca != "" and obj.modello != "":
|
||||||
pesci.append(Pesce(f"{obj.marca} {obj.modello}", 0.8, 0.2, f"/disp_details/{obj.did}"))
|
pesci.append(Pesce(f"{obj.marca} {obj.modello}", 0.8, 0.2, f"/disp_details/{obj.did}"))
|
||||||
elif obj.seriale is not None:
|
elif obj.seriale != "":
|
||||||
pesci.append(Pesce(f"Dispositivo {obj.seriale}", 0.8, 0.2, f"/disp_details/{obj.did}"))
|
pesci.append(Pesce(f"Dispositivo {obj.seriale}", 0.8, 0.2, f"/disp_details/{obj.did}"))
|
||||||
else:
|
else:
|
||||||
pesci.append(Pesce(f"Dispositivo {obj.did}", 0.8, 0.2, f"/disp_details/{obj.did}"))
|
pesci.append(Pesce(f"Dispositivo {obj.did}", 0.8, 0.2, f"/disp_details/{obj.did}"))
|
||||||
|
|
Loading…
Reference in a new issue