|  | @@ -3,7 +3,7 @@
 | 
	
		
			
				|  |  |  import time
 | 
	
		
			
				|  |  |  from datetime import datetime
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -from rival_regions_marketbot import marketbot
 | 
	
		
			
				|  |  | +from rival_regions_marketbot import LOGGER, marketbot
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  while True:
 | 
	
	
		
			
				|  | @@ -71,17 +71,17 @@ while True:
 | 
	
		
			
				|  |  |          1,
 | 
	
		
			
				|  |  |      ]
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +    LOGGER.info("Looping through resources")
 | 
	
		
			
				|  |  |      for index, item in enumerate(items):
 | 
	
		
			
				|  |  | -        print("Buy:  {}".format(item))
 | 
	
		
			
				|  |  | +        LOGGER.info("Buying: %s", item)
 | 
	
		
			
				|  |  |          marketbot.buy(items[index], buy_price[index])
 | 
	
		
			
				|  |  | -        print("Sell: {}".format(item))
 | 
	
		
			
				|  |  | +        LOGGER.info("Selling: %s", item)
 | 
	
		
			
				|  |  |          marketbot.sell(items[index], sell_price[index])
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      SECONDS = 301
 | 
	
		
			
				|  |  | -    print(
 | 
	
		
			
				|  |  | -        "Current Time: {}, waiting for {} seconds".format(
 | 
	
		
			
				|  |  | -            datetime.now().strftime("%H:%M:%S"),
 | 
	
		
			
				|  |  | -            SECONDS,
 | 
	
		
			
				|  |  | -        )
 | 
	
		
			
				|  |  | +    LOGGER.info(
 | 
	
		
			
				|  |  | +        "Current Time: %s, waiting for %s seconds",
 | 
	
		
			
				|  |  | +        datetime.now().strftime("%H:%M:%S"),
 | 
	
		
			
				|  |  | +        SECONDS,
 | 
	
		
			
				|  |  |      )
 | 
	
		
			
				|  |  |      time.sleep(SECONDS)
 |