Fixed logic issue

resolved_file
Chris Truncer 2014-12-15 17:53:25 -05:00
parent 1ee2f28797
commit 9e9f55ee44
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ def cli_parser():
sys.exit()
# If using FTP, check to make sure a username and pass is provided
if args.ftp or args.ftp_server and (
if (args.ftp or args.ftp_server) and (
args.password is None or args.username is None):
print "[*] Error: FTP Server requires a username and password!"
print "[*] Error: Please re-run and provide the required info!"