1
0
mirror of http://aero2k.de/t/repos/urlbot-native.git synced 2017-09-06 15:25:38 +02:00

fixed stuff; dynamic plugin reg; debugging infrastructure

This commit is contained in:
urlbot
2014-09-27 05:32:35 +02:00
parent 798fb6d572
commit 8a73625e3c
2 changed files with 182 additions and 124 deletions

View File

@@ -212,8 +212,8 @@ def parse_delete(filepath):
return
if True != extract_url(content):
plugins.parse_commands(content)
plugins.parse_other(content)
plugins.data_parse_commands(content)
plugins.data_parse_other(content)
return
def get_version_git():
@@ -235,6 +235,8 @@ plugins.conf = conf
plugins.logger = logger
plugins.ratelimit_exceeded = ratelimit_exceeded
plugins.register_all()
if '__main__' == __name__:
VERSION = get_version_git()
print sys.argv[0] + ' ' + VERSION