git @ Cat's Eye Technologies NaNoGenLab / 52b5c66
Oh, Bumble! You have fumbled! bool('False') == True! Chris Pressey 10 years ago
1 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
5959 # image.putpixel((x, y), 128)
6060
6161 if options.debug:
62 print "saving contrast file"
6263 contrast.save(os.path.join(dirname, "contrast.png"))
6364
6465 cuttable_ribbons = [] # list of (y, thickness) tuples
118119
119120 def main(argv):
120121 optparser = OptionParser(__doc__)
121 optparser.add_option("--debug", action='store_true', default='False',
122 optparser.add_option("--debug", action='store_true', default=False,
122123 help="output debuging info")
123124 (options, args) = optparser.parse_args(argv[1:])
124125