Skip to content

Commit 48cb8f4

Browse files
committed
Fixup static_dir
1 parent 2cc02e0 commit 48cb8f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev_server/dev_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def main(options):
9494
if conf.has_key('handlers'):
9595
for h in conf['handlers']:
9696
url = h['url']
97-
if h.has_key('static_dir'):
97+
if h.has_key('static_dir') or h.has_key('static_path'):
9898
statics[url] = os.path.join(app_root, h['static_dir'])
9999

100100
if not len(statics):

0 commit comments

Comments
 (0)