mirror of
				https://github.com/ProjectSynthoria/SynthoriaArchive.git
				synced 2025-11-04 01:45:46 +02:00 
			
		
		
		
	Comment debug print
This commit is contained in:
		
							parent
							
								
									785a8db0c8
								
							
						
					
					
						commit
						746ea8b63d
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -515,7 +515,7 @@ def _create_upload_category_choices():
 | 
			
		|||
@app.route('/upload', methods=['GET', 'POST'])
 | 
			
		||||
def upload():
 | 
			
		||||
    form = forms.UploadForm(CombinedMultiDict((flask.request.files, flask.request.form)))
 | 
			
		||||
    print('{0} - {1}'.format(flask.request.files, flask.request.form))
 | 
			
		||||
    #print('{0} - {1}'.format(flask.request.files, flask.request.form))
 | 
			
		||||
    form.category.choices = _create_upload_category_choices()
 | 
			
		||||
    if flask.request.method == 'POST' and form.validate():
 | 
			
		||||
        torrent = backend.handle_torrent_upload(form, flask.g.user)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue