add travis-ci test

This commit is contained in:
symant233 2019-05-30 20:05:46 +08:00
parent 0935d609c3
commit 9b65544942
2 changed files with 2 additions and 1 deletions

View File

@ -19,3 +19,4 @@ script:
- NHENTAI=https://nhentai.net nhentai --tag lolicon
- NHENTAI=https://nhentai.net nhentai -F
- NHENTAI=https://nhentai.net nhentai --file /tmp/test.txt
- nhentai --id=152503,146134 --gen-main --output=/tmp/

View File

@ -138,7 +138,7 @@ def generate_main_html(output_dir='.'):
with open('./main.html', 'wb') as f:
f.write(data.encode('utf-8'))
logger.log(
15, 'Main Viewer has been write to \'{0}/main.html\''.format(output_dir))
15, 'Main Viewer has been write to \'{0}main.html\''.format(output_dir))
except Exception as e:
logger.warning('Writen Main Viewer failed ({})'.format(str(e)))