// How many profiles we have?
profilesLen = str(__database__.getProfilesLen())
// Debug
self.outputqueue.put("20|logs|[Logs] Number of Profiles in DB: {} ({})".format(profilesLen, datetime.now().strftime("%Y-%m-%d--%H:%M:%S")))
// For each profile, get the tw
for profileid in profiles:
profileid = profileid.decode("utf-8")