diff options
| author | jason | 2017-07-07 09:28:43 -0600 |
|---|---|---|
| committer | jason | 2017-07-07 09:28:43 -0600 |
| commit | 9f2da02ef3eed799e50066d6fd6ea504adb1852d (patch) | |
| tree | 09f3260acb6e4eaa617f94e2664fbce009d79334 /bin | |
| parent | 2d87bd8b4e455b1f50e54820952928d766079463 (diff) | |
| download | warmachine-ng-9f2da02ef3eed799e50066d6fd6ea504adb1852d.tar.gz warmachine-ng-9f2da02ef3eed799e50066d6fd6ea504adb1852d.zip | |
Fix warmachine not honoring weekend
- The offset for the next job was being calucated by
`timedelta.seconds` rather than `timedelta.total_seconds()`
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/dbolla | 5 |
1 files changed, 3 insertions, 2 deletions
| @@ -95,8 +95,9 @@ class Bot(object): | |||
| 95 | self.log.exception(e) | 95 | self.log.exception(e) |
| 96 | continue | 96 | continue |
| 97 | 97 | ||
| 98 | self.log.debug('MSG {}: {}'.format( | 98 | # Log the raw message that was sent |
| 99 | connection.__class__.__name__, message)) | 99 | # self.log.debug('MSG {}: {}'.format( |
| 100 | # connection.__class__.__name__, message)) | ||
| 100 | 101 | ||
| 101 | def load_plugin(self, class_path): | 102 | def load_plugin(self, class_path): |
| 102 | """ | 103 | """ |