]> gitweb.pimeys.fr Git - today.git/commitdiff
renommage de today-server en today_server
authorVincent Le Gallic <legallic@crans.org>
Mon, 8 Apr 2013 01:26:18 +0000 (03:26 +0200)
committerVincent Le Gallic <legallic@crans.org>
Mon, 8 Apr 2013 01:26:18 +0000 (03:26 +0200)
today.py

index 503cf505ad9f95c23df0ec5a2ab9ea72ae5df7d3..477fdfa0894613d37c79ffa59106537c7c0dd741 100755 (executable)
--- 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()