diff --git a/addons/fastwq/service/manager.py b/addons/fastwq/service/manager.py index 9743b93..70c8550 100644 --- a/addons/fastwq/service/manager.py +++ b/addons/fastwq/service/manager.py @@ -74,7 +74,7 @@ class ServiceManager(object): files = [ f for f in os.listdir(mypath) \ if f not in ('__init__.py') and \ - not f.endswith('.pyc') and \ + f.endswith('.py') and \ not os.path.isdir(mypath+os.sep+f) ] base_class = ( diff --git a/addons21/fastwq/service/manager.py b/addons21/fastwq/service/manager.py index b6fb396..0ab8a67 100644 --- a/addons21/fastwq/service/manager.py +++ b/addons21/fastwq/service/manager.py @@ -64,7 +64,7 @@ class ServiceManager(object): files = [ f for f in os.listdir(mypath) \ if f not in ('__init__.py') and \ - not f.endswith('.pyc') and \ + f.endswith('.py') and \ not os.path.isdir(mypath+os.sep+f) ] base_class = (