Improved message output.
This commit is contained in:
parent
30895b5693
commit
eb7247623b
1 changed files with 2 additions and 2 deletions
4
dosage
4
dosage
|
@ -204,11 +204,11 @@ def vote(scraperobj):
|
||||||
out.debug('Vote answer %r' % answer)
|
out.debug('Vote answer %r' % answer)
|
||||||
if answer == 'counted':
|
if answer == 'counted':
|
||||||
url = configuration.Url + 'comics/%s.html' % name.replace('/', '_')
|
url = configuration.Url + 'comics/%s.html' % name.replace('/', '_')
|
||||||
out.info('Vote submitted. Votes are updated daily at %s.' % url)
|
out.info('Vote submitted. Votes are updated regularly at %s.' % url)
|
||||||
elif answer == 'no':
|
elif answer == 'no':
|
||||||
out.info('Vote not submitted - your vote has already been submitted before.')
|
out.info('Vote not submitted - your vote has already been submitted before.')
|
||||||
elif answer == 'noname':
|
elif answer == 'noname':
|
||||||
out.warn('The comic %s cannot be voted anymore.' % name)
|
out.warn('The comic %s cannot be voted.' % name)
|
||||||
else:
|
else:
|
||||||
out.warn('Error submitting vote parameters: %r' % answer)
|
out.warn('Error submitting vote parameters: %r' % answer)
|
||||||
except Exception as msg:
|
except Exception as msg:
|
||||||
|
|
Loading…
Reference in a new issue