changeset 7:394648c67478

py3
author Jeff Hammel <k0scist@gmail.com>
date Tue, 24 Nov 2020 13:00:27 -0800
parents f7120eba6877
children 201857e15b50
files toolbox/dispatcher.py
diffstat 1 files changed, 11 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/toolbox/dispatcher.py	Tue Nov 24 12:58:36 2020 -0800
+++ b/toolbox/dispatcher.py	Tue Nov 24 13:00:27 2020 -0800
@@ -5,17 +5,17 @@
 
 import os
 
-from handlers import CreateProjectView
-from handlers import DeleteProjectHandler
-from handlers import FieldView
-from handlers import ProjectView
-from handlers import QueryView
-from handlers import TagsView
-from handlers import AboutView
-from handlers import NotFound
+from .handlers import CreateProjectView
+from .handlers import DeleteProjectHandler
+from .handlers import FieldView
+from .handlers import ProjectView
+from .handlers import QueryView
+from .handlers import TagsView
+from .handlers import AboutView
+from .handlers import NotFound
 
-from model import models
-from util import strsplit
+from .model import models
+from .util import strsplit
 from webob import Request, Response, exc
 
 here = os.path.dirname(os.path.abspath(__file__))
@@ -101,7 +101,7 @@
         # get a request object
         request = Request(environ)
 
-        # get the path 
+        # get the path
         path = request.path_info.strip('/').split('/')
         if path == ['']:
             path = []