Skip to content

Commit bca2561

Browse files
authored
Merge pull request #12 from Wuestengecko/master
Fix unit tests on Python 3.10
2 parents 6666666 + 73b4ee6 commit bca2561

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datauri/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def __repr__(self):
6868
return "DataURI(%s)" % (super(DataURI, self).__repr__(),)
6969

7070
def wrap(self, width=76):
71-
return "\n".join(textwrap.wrap(self, width))
71+
return "\n".join(textwrap.wrap(self, width, break_on_hyphens=False))
7272

7373
@property
7474
def mimetype(self):

0 commit comments

Comments
 (0)