diff options
author | Eric Wong <e@80x24.org> | 2018-01-30 09:13:56 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2018-01-30 09:13:56 +0000 |
commit | 4e51843e9491e97a6473b293812ceb2b2e7acf0f (patch) | |
tree | e4822f5bb46736718eaa1b7d761b4d615d2ceb59 /lib | |
parent | 8fcf170dcc71dfe9e3dbaffc0b4330391bc0f8da (diff) | |
download | dtas-4e51843e9491e97a6473b293812ceb2b2e7acf0f.tar.gz |
It happens with some video files, apparently.
Diffstat (limited to 'lib')
-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 |