mirror of
http://aero2k.de/t/repos/urlbot-native.git
synced 2017-09-06 15:25:38 +02:00
dang it
This commit is contained in:
@@ -975,8 +975,9 @@ def register(func_type):
|
||||
"""
|
||||
|
||||
functions = [
|
||||
f for ignored, f in globals().items() if all([
|
||||
isinstance(f, types.FunctionType),
|
||||
f for ignored, f in globals().items() if
|
||||
isinstance(f, types.FunctionType) and
|
||||
all([
|
||||
f.__dict__.get('is_plugin', False),
|
||||
getattr(f, 'plugin_type') == func_type
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user