fix mtg
This commit is contained in:
		@@ -57,7 +57,7 @@ class MTG(object):
 | 
			
		||||
                return self.choose_start_words()
 | 
			
		||||
            return first_word, second_word
 | 
			
		||||
        else:
 | 
			
		||||
            first_word = random.choice(self.MC[random.choice(self.MC.keys())])
 | 
			
		||||
            first_word = random.choice(self.MC[random.choice(list(self.MC.keys()))])
 | 
			
		||||
            return self.choose_start_words(first_word, second_word)
 | 
			
		||||
 | 
			
		||||
    def generate_text(self, first_word=None, second_word=None, size=30):
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user