fixed stuff; dynamic plugin reg; debugging infrastructure
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user