Commit fd462d9c authored by's avatar
Browse files

Fixed Bug#55. Thanks cmendozabenitez for reporting.

parent 16642c6d
......@@ -612,7 +612,7 @@ if __name__ == "__main__":
print "local_path and\\or http_map is not defined for local mode!"
print "Fix that in"
elif settings["dynamic_rfi"]["mode"] == "local":
elif settings["dynamic_rfi"]["mode"] == "ftp":
if settings["dynamic_rfi"]["ftp"]["ftp_host"] == None or settings["dynamic_rfi"]["ftp"]["ftp_user"] == None or settings["dynamic_rfi"]["ftp"]["ftp_pass"] == None or settings["dynamic_rfi"]["ftp"]["ftp_path"] == None or settings["dynamic_rfi"]["ftp"]["http_map"] == None:
print "Invalid Dynamic_RFI config!"
print "One of your FTP config values is missing!"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment