problems with state
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user