mediagoblin-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GMG-Devel] Bug in media types extension parsing


From: Michael Macnair
Subject: [GMG-Devel] Bug in media types extension parsing
Date: Fri, 13 Mar 2015 17:01:09 -0000

As requested on IRC because bug tracker registration is disabled:

media_types/__init__.py:109:
    if filename.find('.') > 0:
should be:
    if filename.find('.') >= 0:

Because otherwise files of the form "./blah.mp4" don't work, which happens with the localfiles plugin.

Ditto for line 87.

Cheers,
Michael

reply via email to

[Prev in Thread] Current Thread [Next in Thread]