forked from tanner/qotnews
		
	fix server.py
This commit is contained in:
		@@ -180,7 +180,7 @@ def _update_current_story(item):
 | 
				
			|||||||
            database.put_story(story)
 | 
					            database.put_story(story)
 | 
				
			||||||
            search.put_story(story)
 | 
					            search.put_story(story)
 | 
				
			||||||
        except database.IntegrityError:
 | 
					        except database.IntegrityError:
 | 
				
			||||||
            logging.info('Unable to add story with ref ' + ref)
 | 
					            logging.info('Unable to add story with ref ' + item['ref'])
 | 
				
			||||||
    else:
 | 
					    else:
 | 
				
			||||||
        database.del_ref(item['ref'])
 | 
					        database.del_ref(item['ref'])
 | 
				
			||||||
        logging.info('Removed ref {}'.format(item['ref']))
 | 
					        logging.info('Removed ref {}'.format(item['ref']))
 | 
				
			||||||
 
 | 
				
			|||||||
 Submodule readerserver updated: 91c0a71ccd...a51ea0e423
									
								
							
		Reference in New Issue
	
	Block a user