From f4feb5a9326978f490ccea2f5a324bb6e03cd71d Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Wed, 22 May 2013 22:21:48 +0000 Subject: fix error introduced in pep8 cleanup --- (limited to 'pysamples/load_block.py') diff --git a/pysamples/load_block.py b/pysamples/load_block.py index 26dc0b2..a4f680d 100644 --- a/pysamples/load_block.py +++ b/pysamples/load_block.py @@ -71,7 +71,7 @@ def myblock(tw, blkname): # Place the block at the active turtle (x, y) and move the turtle # into position to place the next block in the stack. x, y = tw.active_turtle.get_xy() - if isinstance(blkname) == list: + if isinstance(blkname, list): name = blkname[0] value = blkname[1:] dy = int(find_block(tw, name, x, y, value)) -- cgit v0.9.1