Skip to content

Commit

Permalink
misc
Browse files Browse the repository at this point in the history
  • Loading branch information
staffanm committed May 19, 2018
1 parent e44b15e commit fd22203
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ferenda/sources/legal/se/swedishlegalsource.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ def __getattr__(self, name):
def lazyread(f):
"""Don't call the wrapped function until someone actually tries to read from the fp that it should return."""
@wraps(f)
def wrapper(self, basefile):
p = partial(f, self, basefile)
def wrapper(self, basefile, attachment=None):
p = partial(f, self, basefile, attachment)
fp = Lazyfile(p)
return fp
return wrapper
Expand Down

0 comments on commit fd22203

Please sign in to comment.