forked from Minecraft/minecraft_manager
Fix IP API (#42)
parent
6cb25c0b4f
commit
e1696d3f5f
|
@ -46,7 +46,7 @@ def clean(model, data):
|
||||||
attr = d
|
attr = d
|
||||||
if '__' in d:
|
if '__' in d:
|
||||||
attr = d.split('__')[0]
|
attr = d.split('__')[0]
|
||||||
if hasattr(model, attr):
|
if hasattr(model, attr) and attr != "api":
|
||||||
cleaned[d] = data[d]
|
cleaned[d] = data[d]
|
||||||
return cleaned
|
return cleaned
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue