diff options
-rw-r--r-- | lib/dtas/mlib.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dtas/mlib.rb b/lib/dtas/mlib.rb index 3f5763f..5395fa1 100644 --- a/lib/dtas/mlib.rb +++ b/lib/dtas/mlib.rb @@ -113,7 +113,7 @@ class DTAS::Mlib # :nodoc: end return ignore(job) unless found tlen = found.duration - return ignore(job) if tlen < 0 + return ignore(job) if tlen.nil? || tlen < 0 tlen = tlen.round tmp = {} if comments = found.comments |