Commit e6136bc4 authored by Alexander Detsch's avatar Alexander Detsch 🐘
Browse files

fix numbering in wiki, modlename in uppercase

parent 146675e8
...@@ -130,9 +130,9 @@ class WarehouseWikipage: ...@@ -130,9 +130,9 @@ class WarehouseWikipage:
ap['Ort'] = f"{ap_data.site}, Zi. {ap_data.location}" ap['Ort'] = f"{ap_data.site}, Zi. {ap_data.location}"
ap['Seriennummer'] = ap_data.serial ap['Seriennummer'] = ap_data.serial
ap['MAC-Adresse'] = ap_data.mac ap['MAC-Adresse'] = ap_data.mac
ap['Typ'] = ap_data.model ap['Typ'] = ap_data.model.upper()
ap['number'] = str(len(self.aps)+2) ap['number'] = str(len(self.aps) + 1)
ap['Anschaffung'] = "FIXME" ap['Anschaffung'] = "FIXME" # creates fixme-Tag in Wiki
ap['Bemerkung'] = "" ap['Bemerkung'] = ""
self.aps[ap_data.serial] = ap self.aps[ap_data.serial] = ap
......
Supports Markdown
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