mirror of
				https://gitlab.com/gpvkt/twitchtts.git
				synced 2025-10-31 17:17:35 +01:00 
			
		
		
		
	Added: Exit code for token timeout
This commit is contained in:
		
							parent
							
								
									e462c1b9af
								
							
						
					
					
						commit
						1639eca784
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		
							
								
								
									
										1
									
								
								tts.py
									
										
									
									
									
								
							
							
						
						
									
										1
									
								
								tts.py
									
										
									
									
									
								
							|  | @ -599,6 +599,7 @@ def main(): | ||||||
|         webbrowser.open_new_tab(url) |         webbrowser.open_new_tab(url) | ||||||
|         logging.info('Please complete the OAuth process within the next 15 minutes.') |         logging.info('Please complete the OAuth process within the next 15 minutes.') | ||||||
|         time.sleep(900) |         time.sleep(900) | ||||||
|  |         sys.exit(250) | ||||||
|     else: |     else: | ||||||
|         logging.info("Starting IRC bot") |         logging.info("Starting IRC bot") | ||||||
|         irc = IRC() |         irc = IRC() | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue