Skip to content
This repository was archived by the owner on Mar 8, 2019. It is now read-only.

Commit af05070

Browse files
committed
Fix run method
1 parent 61c758e commit af05070

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
BASE_PATH = os.path.abspath(os.path.dirname(__file__))
55
README = open(os.path.join(BASE_PATH, 'README.rst')).read()
66

7-
__version__ = '0.0.6'
7+
__version__ = '0.0.7'
88
__author__ = 'Masashi Shibata <[email protected]>'
99
__author_email__ = '[email protected]'
1010
__license__ = 'MIT License'

wsgi_static_middleware.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def __call__(self, env, start_response):
104104

105105
def run(self, *args, **kwargs):
106106
# For Bottle applications.
107-
return self.app.run(*args, **kwargs)
107+
return self(*args, **kwargs)
108108

109109
def handle(self, env, start_response, filename):
110110
abs_file_path = search_file(filename, self.static_dirs)

0 commit comments

Comments
 (0)