gdcvault: Do not set a default extension

Due to the redirecting pages we cannot be sure of the extension,
so better not lie.
This commit is contained in:
François Revol 2013-03-24 01:29:34 +01:00 committed by Florent
commit 6f089c795e

View file

@ -31,7 +31,8 @@ __all__ = ['GDCVaultVideo']
class GDCVaultVideo(BaseVideo):
def __init__(self, *args, **kwargs):
BaseVideo.__init__(self, *args, **kwargs)
self.ext = u'flv'
# not always flv...
self.ext = NotAvailable
@classmethod
def id2url(cls, _id):