diff options
| -rw-r--r-- | warmachine/addons/standup.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/warmachine/addons/standup.py b/warmachine/addons/standup.py index 99094d5..52d9df0 100644 --- a/warmachine/addons/standup.py +++ b/warmachine/addons/standup.py | |||
| @@ -272,7 +272,10 @@ class StandUpPlugin(WarMachinePlugin): | |||
| 272 | Load the channel schedules from a file. | 272 | Load the channel schedules from a file. |
| 273 | """ | 273 | """ |
| 274 | with open('/home/jason/.warmachine/standup_schedules.json', 'r') as f: | 274 | with open('/home/jason/.warmachine/standup_schedules.json', 'r') as f: |
| 275 | data = json.loads(f.read()) | 275 | try: |
| 276 | data = json.loads(f.read()) | ||
| 277 | except: | ||
| 278 | return | ||
| 276 | 279 | ||
| 277 | for channel in data[connection.id]: | 280 | for channel in data[connection.id]: |
| 278 | self.schedule_standup( | 281 | self.schedule_standup( |