From 1d4b80f6557a1879256522ba25809352acfc89a0 Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Sun, 20 Sep 2015 11:41:04 +0200 Subject: [PATCH] Update oa-put There are some false positives for video. Those audio files should then not be uploaded with the ogv extension. The ogg extension is more general. --- oa-put | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oa-put b/oa-put index e88a018..401420c 100755 --- a/oa-put +++ b/oa-put @@ -93,7 +93,7 @@ if action == 'upload-media': if mimetype == 'audio': extension = 'oga' elif mimetype == 'video': - extension = 'ogv' + extension = 'ogg' wiki_filename = path.splitext(source_filename)[0] + '.' + extension if article_title is not None: dirty_prefix = article_title