Skip to content

Commit

Permalink
Merge pull request #1593 from pymedusa/feature/knowit-1.4.1
Browse files Browse the repository at this point in the history
Upgrading knowit to 0.1.4.1
  • Loading branch information
ratoaq2 authored Nov 18, 2016
2 parents 6c59d6e + 5b83fd1 commit 335a1c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/knowit/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from __future__ import unicode_literals

__title__ = 'knowit'
__version__ = '0.1.4'
__version__ = '0.1.4.1'
__short_version__ = '.'.join(__version__.split('.')[:2])
__author__ = 'Rato AQ2'
__license__ = 'MIT'
Expand Down
2 changes: 1 addition & 1 deletion lib/knowit/providers/mediainfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def describe(self, video_path, options):
elif track_type == 'Text':
subtitle_tracks.append(track)

result = self._describe_tracks(general_tracks[0] if general_tracks else [],
result = self._describe_tracks(general_tracks[0] if general_tracks else None,
video_tracks, audio_tracks, subtitle_tracks)
if not result:
logger.warning("Invalid file '%s'", video_path)
Expand Down

0 comments on commit 335a1c2

Please sign in to comment.