Skip to content

Commit

Permalink
Fix a bug for test recording when input is None
Browse files Browse the repository at this point in the history
  • Loading branch information
sfdye committed Mar 22, 2018
1 parent 612c350 commit ae261c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion github/tests/Framework.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def request(self, verb, url, input, headers):
self.__writeLine(self.__port)
self.__writeLine(url)
self.__writeLine(str(headers))
self.__writeLine(input.replace('\n', '').replace('\r', ''))
self.__writeLine(str(input).replace('\n', '').replace('\r', ''))

def getresponse(self):
res = self.__cnx.getresponse()
Expand Down

0 comments on commit ae261c8

Please sign in to comment.