From b5ff7d511c4ecdac45b8620cbaedc90882dfea51 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Sun, 16 Sep 2012 12:53:34 +0000 Subject: [PATCH] PluginDownloader: Recognize README.md in @info. --- plugins/PluginDownloader/plugin.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/PluginDownloader/plugin.py b/plugins/PluginDownloader/plugin.py index 988a7c02a..9b5ad9960 100644 --- a/plugins/PluginDownloader/plugin.py +++ b/plugins/PluginDownloader/plugin.py @@ -151,6 +151,9 @@ class GithubRepository(GitRepository): if file.name == prefix + dirname + '/README.txt': extractedFile = archive.extractfile(file) return extractedFile.read() + elif file.name == prefix + dirname + '/README.md': + extractedFile = archive.extractfile(file) + return extractedFile.read() def _getWritableDirectoryFromList(self, directories): for directory in directories: