Update typo3_enumerator.py

fixed file input
This commit is contained in:
Jan Rude
2015-04-02 13:47:55 +02:00
parent 5e66fbef70
commit 8b1664849d

View File

@@ -100,7 +100,7 @@ class Typo3:
else: else:
with open(args.file, 'r') as f: with open(args.file, 'r') as f:
for line in f: for line in f:
domain_list.append(Domain(line.strip('\n'), args.ext_state, args.top)) self.__domain_list.append(Domain(line.strip('\n'), args.ext_state, args.top))
for domain in self.__domain_list: for domain in self.__domain_list:
print('\n\n' + Fore.CYAN + Style.BRIGHT + '[ Checking ' + domain.get_name() + ' ]' + '\n' + "-"* 73 + Fore.RESET + Style.RESET_ALL) print('\n\n' + Fore.CYAN + Style.BRIGHT + '[ Checking ' + domain.get_name() + ' ]' + '\n' + "-"* 73 + Fore.RESET + Style.RESET_ALL)
Typo3_Installation.run(domain) Typo3_Installation.run(domain)