forked from endorphant/ttbp
		
	sure am hardcoding more stuff for issue #11
This commit is contained in:
		
							parent
							
								
									84492799e3
								
							
						
					
					
						commit
						ed9805a543
					
				| @ -810,8 +810,9 @@ def view_feed(): | ||||
| 
 | ||||
|         for entry in filenames: | ||||
|             ## hardcoded bs | ||||
|             if core.valid(entry) and re.search("201612", entry): | ||||
|                 feedList.append(os.path.join(entryDir, entry)) | ||||
|             if core.valid(entry): | ||||
|                 if re.search("2017", entry): | ||||
|                     feedList.append(os.path.join(entryDir, entry)) | ||||
| 
 | ||||
|     metas = core.meta(feedList) | ||||
|     metas.sort(key = lambda entry:entry[3]) | ||||
|  | ||||
| @ -809,8 +809,9 @@ def view_feed(): | ||||
| 
 | ||||
|         for entry in filenames: | ||||
|             ## hardcoded bs | ||||
|             if core.valid(entry) and re.search("201612", entry): | ||||
|                 feedList.append(os.path.join(entryDir, entry)) | ||||
|             if core.valid(entry): | ||||
|                 if re.search("2017", entry): | ||||
|                     feedList.append(os.path.join(entryDir, entry)) | ||||
| 
 | ||||
|     metas = core.meta(feedList) | ||||
|     metas.sort(key = lambda entry:entry[3]) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user