Rename main class to Hptoad
This commit is contained in:
		
							parent
							
								
									938709465c
								
							
						
					
					
						commit
						d73e10e76e
					
				| 
						 | 
				
			
			@ -20,7 +20,7 @@ opts = {
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class Zhobe:
 | 
			
		||||
class Hptoad:
 | 
			
		||||
    def __init__(self, opts):
 | 
			
		||||
        if sys.version_info.major < 3:
 | 
			
		||||
            sleekxmpp.util.misc_ops.setdefaultencoding("utf-8")
 | 
			
		||||
| 
						 | 
				
			
			@ -282,8 +282,8 @@ if __name__ == "__main__":
 | 
			
		|||
    if os.path.isfile(sys.argv[0]) and os.path.dirname(sys.argv[0]):
 | 
			
		||||
        os.chdir(os.path.dirname(sys.argv[0]))
 | 
			
		||||
 | 
			
		||||
    zhobe = Zhobe(opts)
 | 
			
		||||
    hptoad = Hptoad(opts)
 | 
			
		||||
    while True:
 | 
			
		||||
        zhobe.run()
 | 
			
		||||
        hptoad.run()
 | 
			
		||||
        logging.error("Unknown: WTF am I doing here?")
 | 
			
		||||
        time.sleep(0.5)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue