Skip to content

Commit

Permalink
Rename variable, because from second request NameError occurs (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
khorolets authored and frol committed Sep 30, 2016
1 parent 4de1647 commit de01c7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_restplus_patched/resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def options(self, *args, **kwargs):
# and over again
method_func.__dict__['_cached_fake_method_func'] = fake_method_func
else:
fake_method_func = method._cached_fake_method_func
fake_method_func = method_func._cached_fake_method_func

try:
fake_method_func(self, *args, **kwargs)
Expand Down

0 comments on commit de01c7a

Please sign in to comment.