From 5c58f9f28d943faa8703be63d7a34b1ddae86cc9 Mon Sep 17 00:00:00 2001 From: Senad Uka Date: Sat, 8 Oct 2016 18:26:11 +0200 Subject: [PATCH] problems with state --- controller/state/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/controller/state/__init__.py b/controller/state/__init__.py index 1c5ffb1..d1a50d5 100644 --- a/controller/state/__init__.py +++ b/controller/state/__init__.py @@ -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()