Commit 6f001e29 authored by born's avatar born
Browse files

Fixed tuple output bug

parent 659121ca
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -171,7 +171,7 @@ os.mkdir(new_dir)
	
if ID_ONLY == True:
	output = codecs.open(new_dir+"/newsroom_articles.txt","w","utf-8")
	output.write("#" + TOPIC + " #" + IR + " #" + EVENTS_TO_RANGE[TOPIC] + "\n")
	output.write("#" + TOPIC + " #" + IR + " #" + str(EVENTS_TO_RANGE[TOPIC]) + "\n")
	for idx,el in enumerate(sortedarticles):
		if idx == MAX_DOCUMENTS:
			break