passing all tests on py3
This commit is contained in:
@@ -44,6 +44,11 @@ from rowers.utils import (
|
||||
)
|
||||
|
||||
def cleanbody(body):
|
||||
try:
|
||||
body = body.decode('utf-8')
|
||||
except AttributeError:
|
||||
pass
|
||||
|
||||
regex = r".*---\n([\s\S]*?)\.\.\..*"
|
||||
matches = re.finditer(regex,body)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user