aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorjason2017-07-07 09:28:43 -0600
committerjason2017-07-07 09:28:43 -0600
commit9f2da02ef3eed799e50066d6fd6ea504adb1852d (patch)
tree09f3260acb6e4eaa617f94e2664fbce009d79334 /bin
parent2d87bd8b4e455b1f50e54820952928d766079463 (diff)
downloadwarmachine-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-xbin/dbolla5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/dbolla b/bin/dbolla
index fff48c9..9d9a48b 100755
--- a/bin/dbolla
+++ b/bin/dbolla
@@ -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 """