Update scaffold.py
missed one
This commit is contained in:
parent
dde76ea960
commit
66129c7632
1 changed files with 1 additions and 1 deletions
|
|
@ -364,7 +364,7 @@ class Scaffold:
|
||||||
if mode not in {"r", "rt", "rb"}:
|
if mode not in {"r", "rt", "rb"}:
|
||||||
raise ValueError("Resources can only be opened for reading.")
|
raise ValueError("Resources can only be opened for reading.")
|
||||||
|
|
||||||
return open(os.path.join(self.root_path, resource), mode, encoding="utf-8")
|
return open(os.path.join(self.root_path, resource), mode)
|
||||||
|
|
||||||
def _method_route(
|
def _method_route(
|
||||||
self,
|
self,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue