This commit is contained in:
Ricter Z 2020-12-02 07:45:31 +08:00
parent 445a8c052e
commit 0cd2576dab
2 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,3 @@
__version__ = '0.4.8' __version__ = '0.4.9'
__author__ = 'RicterZ' __author__ = 'RicterZ'
__email__ = 'ricterzheng@gmail.com' __email__ = 'ricterzheng@gmail.com'

View File

@ -27,7 +27,9 @@ def main():
if constant.CONFIG['proxy']['http']: if constant.CONFIG['proxy']['http']:
logger.info('Using proxy: {0}'.format(constant.CONFIG['proxy']['http'])) logger.info('Using proxy: {0}'.format(constant.CONFIG['proxy']['http']))
if constant.CONFIG['template']: if not constant.CONFIG['template']:
constant.CONFIG['template'] = 'default'
logger.info('Using viewer template "{}"'.format(constant.CONFIG['template'])) logger.info('Using viewer template "{}"'.format(constant.CONFIG['template']))
# check your cookie # check your cookie