#: 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
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()