mirror of
				https://gitlab.com/gpvkt/twitchtts.git
				synced 2025-10-31 17:17:35 +01:00 
			
		
		
		
	Added --version parameter
This commit is contained in:
		
							parent
							
								
									cfe02ac7c7
								
							
						
					
					
						commit
						e0a513c2c4
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		
							
								
								
									
										6
									
								
								tts.py
									
										
									
									
									
								
							
							
						
						
									
										6
									
								
								tts.py
									
										
									
									
									
								
							|  | @ -575,6 +575,12 @@ msg_queue = {} | |||
| logging.basicConfig(level=logging.DEBUG, format='%(asctime)s %(module)s %(threadName)s %(levelname)s: %(message)s') | ||||
| sys.tracebacklimit = 0 | ||||
| 
 | ||||
| if sys.argv[1:]: | ||||
|     if sys.argv[1] == "--version": | ||||
|         print('Simple TTS Bot') | ||||
|         print('Version 1.1.0') | ||||
|         sys.exit(1) | ||||
| 
 | ||||
| def main(): | ||||
|     """Main loop""" | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue