X-Git-Url: http://gitweb.pimeys.fr/?a=blobdiff_plain;f=today_server.py;h=1727e27d5a19b6ecb164fd0929117851471cf48f;hb=fdcee57ada724242faa407bb6ba752135ec14316;hp=ef73747f94dfa130555931a51c0ddd45a240b364;hpb=dabb5eeb6a9c41bd3c415f2a73278d2fcd58dd80;p=today.git diff --git a/today_server.py b/today_server.py index ef73747..1727e27 100755 --- a/today_server.py +++ b/today_server.py @@ -17,8 +17,6 @@ import sys import urllib import json os.chdir('/home/vincent/scripts/today/') -sys.path.append("/home/vincent/scripts/dtc/") -import dtc #: Config serveur import serverconfig @@ -26,10 +24,6 @@ import serverconfig #: Récupération de toutes les nouveautés import gather -def last_dtc(): - """Vérifie si il y a des quotes DTC non lues""" - return dtc.last_inserted() - def last_xkcd(): p = urllib.urlopen("http://xkcd.com") t = p.read() @@ -67,7 +61,6 @@ def update_file(news): FETCHS = { "xkcd" : last_xkcd, - "dtc" : last_dtc, "xantah" : last_xantah, "dc" : last_jl8, }