Refactor path variable to make it clearer.

This commit is contained in:
Mike Auty
2016-01-13 00:59:18 +00:00
parent 4d4c5e63b9
commit 63fcb397e1
+3 -3
View File
@@ -59,10 +59,10 @@ class CommandLine(object):
ctx.config["pslist.primary.page_map_offset"] = 0x39000
ctx.config["pslist.offset"] = 0x823c87c0
path = plugin.__name__.lower()
if dldr.validate_dependencies(dependencies, context = ctx, path = path):
config_path = plugin.__name__.lower()
if dldr.validate_dependencies(dependencies, context = ctx, path = config_path):
# Construct and run the plugin
plugin(ctx, path).run()
plugin(ctx, config_path).run()
def main():