diff --git a/foodoord_unten b/foodoord_unten index 14e70ef..a6d02e2 100755 --- a/foodoord_unten +++ b/foodoord_unten @@ -1,18 +1,17 @@ -#! /usr/bin/python +#! /usr/bin/python3 # vim: ts=2 sw=2 et import os import stat import time -import urllib2 import signal import sys import RPi.GPIO as gpio import grp -from ConfigParser import SafeConfigParser +from configparser import ConfigParser #Read config -parser = SafeConfigParser() +parser = ConfigParser() parser.read('/etc/foodoord.conf') doorapi = parser.get('doorstatus', 'status_url')