Skip to content

Commit

Permalink
fix python3 byte to str
Browse files Browse the repository at this point in the history
  • Loading branch information
L-codes committed Nov 16, 2020
1 parent fd6a172 commit c1a46e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions neoreg.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-

__author__ = 'L'
__version__ = '2.3.0'
__version__ = '2.3.1'

import sys
import os
Expand Down Expand Up @@ -458,8 +458,8 @@ def askGeorg(conn, connectURLs, redirectURLs):
message = rV[message]
log.error("Georg is not ready. Error message: %s" % message)
else:
log.error('Expect Response: ' + BASICCHECKSTRING[0:100])
log.error('Real Response: ' + response.content.strip()[0:100])
log.error('Expect Response: {}'.format(BASICCHECKSTRING[0:100]))
log.error('Real Response: {}'.format(response.content.strip()[0:100]))
log.error("Georg is not ready, please check URL and KEY. rep: [{}] {}".format(response.status_code, response.reason))
exit()

Expand Down

0 comments on commit c1a46e8

Please sign in to comment.