Fix subscript typo.
This commit is contained in:
		
							parent
							
								
									5d9abf6e65
								
							
						
					
					
						commit
						2efc5ed38d
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -105,7 +105,7 @@ def get_watch(): | ||||||
| @flasktools.required_fields(['channel_id'], forbid_whitespace=True) | @flasktools.required_fields(['channel_id'], forbid_whitespace=True) | ||||||
| @site.route('/add_channel', methods=['POST']) | @site.route('/add_channel', methods=['POST']) | ||||||
| def post_add_channel(): | def post_add_channel(): | ||||||
|     channel_id = request.form.['channel_id'] |     channel_id = request.form['channel_id'] | ||||||
|     if not (len(channel_id) == 24 and channel_id.startswith('UC')): |     if not (len(channel_id) == 24 and channel_id.startswith('UC')): | ||||||
|         # It seems they have given us a username instead. |         # It seems they have given us a username instead. | ||||||
|         try: |         try: | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue