Commit a35c4622 authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Fix open_file() in cairo_draw.py

parent e8208c35
......@@ -139,7 +139,7 @@ def open_file(name, mode="r"):
else:
out = open(name, mode)
fmt = os.path.splitext(name)[1].replace(".", "")
return name, fmt
return out, fmt
def surface_from_prop(surface):
......
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