bug fixes

This commit is contained in:
sthoo 2018-10-28 23:42:23 +08:00
parent e36216552c
commit c3ba7464fe
2 changed files with 2 additions and 2 deletions

View File

@ -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 = (

View File

@ -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 = (