2 from datetime
import datetime
, timedelta
5 device_dir
= "/media/IPOD/Podcasts"
7 if not os
.path
.exists(device_dir
):
8 device_dir
= "./device"
9 if not os
.path
.exists(device_dir
):
10 os
.makedirs(device_dir
)
12 # consider timestamps earlier then this not interesting
13 reasonable_timestamp
= datetime(2008,1,1)
15 # do not request feeds more often then this period
16 min_ping_period
= timedelta(minutes
=30)
18 # initial value for timestamps more convenient then None
19 dawn_of_time
= datetime(1999,1,1)