misc.py

changeset 71
d2e19670b772
parent 24
e6bdb9c54096
equal deleted inserted replaced
70:c2fc50748efd 71:d2e19670b772
21 entry[key] = transformation(entry[key]) 21 entry[key] = transformation(entry[key])
22 yield entry 22 yield entry
23 23
24 def is_night_time(time): 24 def is_night_time(time):
25 return time.hour >= 23 or time.hour < 5 25 return time.hour >= 23 or time.hour < 5
26
27 from configparser import ConfigParser
28 profile = ConfigParser()

mercurial