Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions nosqlmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,11 +405,11 @@ def options():

elif select == "0":
loadPath = raw_input("Enter file name to load: ")
cvsOpt = []
csvOpt = []
try:
with open(loadPath,"r") as fo:
for line in fo:
cvsOpt.append(line.rstrip())
csvOpt.append(line.rstrip())
except IOError as e:
print "I/O error({0}): {1}".format(e.errno, e.strerror)
raw_input("error reading file. Press enter to continue...")
Expand Down