problems with state

This commit is contained in:
Senad Uka
2016-10-08 18:26:11 +02:00
parent 761b67003b
commit 5c58f9f28d

View File

@@ -37,7 +37,10 @@ def sync():
changer = Changer(local_state, server_state)
current_state = changer.process_change()
print "posting :" + repr(current_state)
local.data = current_state
server.post_state(current_state)
local.save()
except:
print " panicking safely ! "
safely_panic()