Skip to content

Commit

Permalink
Fixed code I broke in last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Parasimpaticki committed Apr 30, 2018
1 parent 557c63e commit 13290ee
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions sandcastle.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,14 @@ def checkBuckets(target):
outFile.write("[+] Command output:%s\n" % check)
print check

def init():
if __name__ == "__main__":
with open(args.bucketFile, 'r') as b:
bucketNames = [line.strip() for line in b]
lineCount = len(bucketNames)
b.close()
if args.outputFile:
outFile = open(args.outputFile,"w")

if __name__ == "__main__":
init()
if(args.inputFile):
with open(args.inputFile, 'r') as f:
targetNames = [line.strip() for line in f]
Expand Down

0 comments on commit 13290ee

Please sign in to comment.