problems with state
This commit is contained in:
@@ -37,7 +37,10 @@ def sync():
|
|||||||
changer = Changer(local_state, server_state)
|
changer = Changer(local_state, server_state)
|
||||||
current_state = changer.process_change()
|
current_state = changer.process_change()
|
||||||
|
|
||||||
|
print "posting :" + repr(current_state)
|
||||||
|
local.data = current_state
|
||||||
server.post_state(current_state)
|
server.post_state(current_state)
|
||||||
|
local.save()
|
||||||
except:
|
except:
|
||||||
print " panicking safely ! "
|
print " panicking safely ! "
|
||||||
safely_panic()
|
safely_panic()
|
||||||
|
|||||||
Reference in New Issue
Block a user