From 97264e53840b3544fef002d30cb80d6e9942139b Mon Sep 17 00:00:00 2001
From: Samo Penic <samo.penic@gmail.com>
Date: Wed, 04 Jan 2017 20:26:01 +0000
Subject: [PATCH] Some fixes in python code

---
 python/trisurf/VTKRendering.py |    2 +-
 python/networkedExample.py     |    3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/python/networkedExample.py b/python/networkedExample.py
index ae8216f..b444447 100755
--- a/python/networkedExample.py
+++ b/python/networkedExample.py
@@ -1,3 +1,4 @@
+#!/usr/bin/python3
 from trisurf import trisurf
 from trisurf import tsmgr
 
@@ -21,7 +22,7 @@
 
 Runs=[run2, run3]
 
-hosts=({'name':'natalie','address':'kabinet.penic.eu', 'runs':Runs, 'username':'samo'},
+hosts=({'name':'Hestia','address':'kabinet.penic.eu', 'runs':Runs, 'username':'samo'},
 	{'name':'altea','address':'127.0.0.1', 'runs':Runs, 'username':'samo'})
 
 tsmgr.start(hosts)
diff --git a/python/trisurf/VTKRendering.py b/python/trisurf/VTKRendering.py
index 5e72b98..76ff9e7 100644
--- a/python/trisurf/VTKRendering.py
+++ b/python/trisurf/VTKRendering.py
@@ -18,7 +18,7 @@
 		interactor = vtkRenderWindowInteractor()
 		interactor.SetRenderWindow(self.renderer_window)
 		interactor.Initialize()
- 		interactor.AddObserver("TimerEvent", self.RenderUpdate)
+		interactor.AddObserver("TimerEvent", self.RenderUpdate)
 		timerIDR = interactor.CreateRepeatingTimer(1000)
 		self.filename=[]
 		self.renderer=[]

--
Gitblit v1.9.3