From c3ba7464fe402bd79cea2076465f15409c98a186 Mon Sep 17 00:00:00 2001 From: sthoo Date: Sun, 28 Oct 2018 23:42:23 +0800 Subject: [PATCH] bug fixes --- addons/fastwq/service/manager.py | 2 +- addons21/fastwq/service/manager.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 = (