forked from endorphant/ttbp
		
	reverse sort file list for newest-first posting
This commit is contained in:
		
							parent
							
								
									0ccd6300ce
								
							
						
					
					
						commit
						55758bea41
					
				| @ -31,6 +31,7 @@ for file in os.listdir(DATA): | ||||
|     if os.path.isfile(filename) and os.path.splitext(filename)[1] == ".txt": | ||||
|         FILES.append(file) | ||||
| 
 | ||||
| FILES.reverse() | ||||
| print FILES | ||||
| 
 | ||||
| def write(outurl="default.html"): | ||||
| @ -70,8 +71,6 @@ def write_entry(file): | ||||
|         raw.append(line) | ||||
|     rawfile.close() | ||||
| 
 | ||||
|     print raw | ||||
| 
 | ||||
|     for line in raw: | ||||
|         entry.append(line+"\t\t\t") | ||||
|         if line == "\n": | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user