Oops, add the session to /clipboard.
This commit is contained in:
		
							parent
							
								
									0228fbebfd
								
							
						
					
					
						commit
						4e98fcf137
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -170,7 +170,8 @@ def post_batch_photos_refresh_metadata(): | ||||||
| @site.route('/clipboard') | @site.route('/clipboard') | ||||||
| @session_manager.give_token | @session_manager.give_token | ||||||
| def get_clipboard_page(): | def get_clipboard_page(): | ||||||
|     return flask.render_template('clipboard.html') |     session = session_manager.get(request) | ||||||
|  |     return flask.render_template('clipboard.html', session=session) | ||||||
| 
 | 
 | ||||||
| @site.route('/batch/photos/photo_card', methods=['POST']) | @site.route('/batch/photos/photo_card', methods=['POST']) | ||||||
| @decorators.required_fields(['photo_ids'], forbid_whitespace=True) | @decorators.required_fields(['photo_ids'], forbid_whitespace=True) | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue