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

Fix open_file() in

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