mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 19:22:45 +01:00
PluginDownloader: Recognize README.md in @info.
This commit is contained in:
parent
e43700d12d
commit
b5ff7d511c
@ -151,6 +151,9 @@ class GithubRepository(GitRepository):
|
|||||||
if file.name == prefix + dirname + '/README.txt':
|
if file.name == prefix + dirname + '/README.txt':
|
||||||
extractedFile = archive.extractfile(file)
|
extractedFile = archive.extractfile(file)
|
||||||
return extractedFile.read()
|
return extractedFile.read()
|
||||||
|
elif file.name == prefix + dirname + '/README.md':
|
||||||
|
extractedFile = archive.extractfile(file)
|
||||||
|
return extractedFile.read()
|
||||||
|
|
||||||
def _getWritableDirectoryFromList(self, directories):
|
def _getWritableDirectoryFromList(self, directories):
|
||||||
for directory in directories:
|
for directory in directories:
|
||||||
|
Loading…
Reference in New Issue
Block a user