This commit is contained in:
Ricter Z 2017-08-19 00:48:53 +08:00
parent a47359f411
commit 0ee000edeb
2 changed files with 3 additions and 1 deletions

View File

@ -49,6 +49,8 @@ def main():
doujinshi_dir = os.path.join(options.output_dir, str(doujinshi.id))
file_list = os.listdir(doujinshi_dir)
file_list.sort()
for index, image in enumerate(file_list):
try:
next_ = file_list[file_list.index(image) + 1]

View File

@ -9,7 +9,7 @@ with open('requirements.txt') as f:
def long_description():
with codecs.open('README.md', 'rb') as f:
with codecs.open('README.md', 'r') as f:
return str(f.read())
setup(