I didn't quite like this personally, so I came up with an alternative, but you tell me what you think.

```
run_every=True
class bogus():

    details = {}

    tab = {"Hourly": "timer_hours",
           "Daily": "timer_days",
           "Weekly": "timer_weeks",
           "Monthly": "timer_months"}
    
    def __init__(self):
        pass
    
    def test(self, run_type):
        if run_type == "Once":
            self.details["timer_type"] = "Once"
        else:
            self.details["timer_type"] = run_type
            self.details[self.tab[run_type]] = run_every
```