X-Git-Url: http://gitweb.pimeys.fr/?p=today.git;a=blobdiff_plain;f=today.py;h=477fdfa0894613d37c79ffa59106537c7c0dd741;hp=503cf505ad9f95c23df0ec5a2ab9ea72ae5df7d3;hb=4f02e7921995656a95d60ad07985bf1fc57f7856;hpb=e752abb6ffde566d0527ad46043fd6c9460d739a diff --git a/today.py b/today.py index 503cf50..477fdfa 100755 --- a/today.py +++ b/today.py @@ -26,7 +26,7 @@ class Config(object): #: Serveur distant où aller récupérer les checks self.distant_server = "pimeys" #: path de today-server.py sur le serveur distant - self.path_today_server = "/home/vincent/scripts/today/today-server.py" + self.path_today_server = "/home/vincent/scripts/today/today_server.py" #: Fichier contenant les anniversaires self.birthdays_file = "birthdays.txt" #: Fichier contenant les évènements à venir @@ -199,7 +199,7 @@ def update_xkcd(newid): def check_all(): """Vérifie si il y a des derniers trucs non lus/vus.""" cmd = "%s whatsup" % (config.path_today_server,) - proc = subprocess.Popen(["ssh", config.distant_server, cmd], stdout=subprocess.PIPE, stderr=subprocess.PIPE) + proc = subprocess.Popen(["ssh", config.distant_server, cmd], stdout=subprocess.PIPE) out, err = proc.communicate() news = json.loads(out) seen = get_last_seen()