Fix some bugs with printer profile stuff, per recent rattail changes.
This commit is contained in:
		
							parent
							
								
									9d2a35c8b1
								
							
						
					
					
						commit
						350c944e91
					
				
					 3 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -141,7 +141,7 @@ def printer_settings(request):
 | 
			
		|||
    read_profile = HTTPFound(location=request.route_url(
 | 
			
		||||
            'label_profile.read', uuid=profile.uuid))
 | 
			
		||||
 | 
			
		||||
    printer = profile.get_printer()
 | 
			
		||||
    printer = profile.get_printer(request.rattail_config)
 | 
			
		||||
    if not printer:
 | 
			
		||||
        request.session.flash("Label profile \"%s\" does not have a functional "
 | 
			
		||||
                              "printer spec." % profile)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue