from ..config import config def getPossibleOffers(recipient, os): ret = [] for offer in os: ret.append(offers[offer]) return ret def loadOffers(): pass offers={} config.registerReload(loadOffers)