Commits

larry committed 2592563

Hacked suppressing empty IllegalMove exceptions. Sigh.

  • Participants
  • Parent commits ae91125

Comments (0)

Files changed (1)

 					self.hand.last_drawn = None
 				except IllegalMove as response:
 					c = None
-					if response.__context__:
-						message = str(response)
+					message = str(response)
+					# sigh, I'm sure there's a reasonable way to
+					# figure out the exception had an empty message
+					if message and message != "None":
 						bangs = "!" * len(message)
 						print()
 						print("   ", bangs)