diff options
| author | Anton Bobov <abobov@gmail.com> | 2020-10-30 20:58:19 +0500 |
|---|---|---|
| committer | Anton Bobov <abobov@gmail.com> | 2020-10-30 20:58:19 +0500 |
| commit | 5e03181459ac8f951b4cc94e25c153549f4f7cef (patch) | |
| tree | 9f64e483f547bb9a041fc1aba39cd5b0fc8a7ae6 /rem2ics | |
| parent | 98fea5f02034cb1f3b83b6c4c7dae757ac4b1c1d (diff) | |
Add slugify, fix remind scripts.
Diffstat (limited to 'rem2ics')
| -rwxr-xr-x | rem2ics | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -21,7 +21,7 @@ class Event: e = self.event_json summary = e.get('body', '').replace(r'%"', '') if 'time' in e: - summary = summary[6:] + summary = summary.split(' ', 1)[1] if 'passthru' in e and 'COLOR' in e['passthru']: summary = ' '.join(summary.split(' ')[3:]) return summary |
