Commit 154744bc authored by gijs's avatar gijs

Initial translation

parent 5535f868
......@@ -53,10 +53,12 @@ with open('timeline.inkscape.svg', 'r') as handle:
# print(center)
# loopcenters.append(center)
pattern = re.compile(r'/translate\(([\d\.]+),\s?([\d\.]+)\)/')
pattern = re.compile('translate\(([\d\.]+),\s*([\d\.]+)\)')
animation = get_group_by_label(soup, 'animation')
print(pattern)
transform = animation.get('transform')
m = pattern.match(transform)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment