X-Git-Url: http://gitweb.pimeys.fr/?p=bots%2Fhung.git;a=blobdiff_plain;f=hung.py;fp=hung.py;h=2e0355bbd4287891a8c661e5a88069491a818068;hp=0000a911ec927254b52597bf1785c9e870604f48;hb=6a20db1444800b9c4023d74e9c4b1e87358ab6b8;hpb=6ac9765ce7280aa6b2e5cf1acd4f45a53593a910 diff --git a/hung.py b/hung.py index 0000a91..2e0355b 100755 --- a/hung.py +++ b/hung.py @@ -331,6 +331,7 @@ class Hung(ircbot.SingleServerIRCBot): else: definition = "(custom word)" # ' et - sont considérés comme déjà devinés + mot = mot.upper() mot = [(lettre,lettre in config.non_guess_chars) for lettre in list(mot)] self.play_status[canal]=[mot,definition,{}] self.tried_letters[canal] = set ()