Files
urlbot-native/plugins/__init__.py

13 lines
264 B
Python
Raw Permalink Normal View History

2015-12-26 13:50:21 +01:00
# -*- coding: utf-8 -*-
2016-04-05 14:18:22 +02:00
from os.path import dirname, basename, isfile
from glob import glob
2015-12-26 13:50:21 +01:00
2016-04-05 18:40:31 +02:00
__all__ = []
2015-12-26 13:50:21 +01:00
2016-04-05 14:18:22 +02:00
for f in glob(dirname(__file__) + "/*.py"):
if not basename(f).startswith('_') and isfile(f):
__all__.append(basename(f)[:-3])
2015-12-26 13:50:21 +01:00
2016-04-05 14:18:22 +02:00
from . import *