Commit e02a8cae authored by Marc-Andre Santune's avatar Marc-Andre Santune
Browse files

Simulating version conflict error

parent 7095a345
...@@ -262,6 +262,7 @@ class BuildingGeneric: ...@@ -262,6 +262,7 @@ class BuildingGeneric:
Use this to prevent version conflict when uploading data Use this to prevent version conflict when uploading data
""" """
try: try:
self._building["version"] = 3 # TODO removeeeeeeeeeeeee
res = self._req( res = self._req(
"put", url, json={**payload, "version": self._building["version"]} "put", url, json={**payload, "version": self._building["version"]}
) )
......
Markdown is supported
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