From 81face7d322726be42188373afb14b6938220ae1 Mon Sep 17 00:00:00 2001 From: edistar Date: Sat, 4 Oct 2008 20:12:04 +0000 Subject: [PATCH] a few fixes and a very good idea by bumbl: atexit :) thx git-svn-id: http://www.neo1973-germany.de/svn@186 46df4e5c-bc4e-4628-a0fc-830ba316316d --- PyTracker/trunk/PyTrackerServer.py | 2 ++ PyTracker/trunk/clientscriptGUI.py | 3 +++ 2 files changed, 5 insertions(+) diff --git a/PyTracker/trunk/PyTrackerServer.py b/PyTracker/trunk/PyTrackerServer.py index 3870c6e..6e5bc26 100644 --- a/PyTracker/trunk/PyTrackerServer.py +++ b/PyTracker/trunk/PyTrackerServer.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python + from __future__ import with_statement import time from socket import * diff --git a/PyTracker/trunk/clientscriptGUI.py b/PyTracker/trunk/clientscriptGUI.py index ac5c8a3..b601c14 100644 --- a/PyTracker/trunk/clientscriptGUI.py +++ b/PyTracker/trunk/clientscriptGUI.py @@ -4,6 +4,9 @@ import ecore.evas import edje import sys import os +import atexit + +atexit.register(test.StopTrack()) test=TrackClient('anon','passwd','80.61.221.9')