From dcdcf62763735f2fb1414160fda77f77a9cec048 Mon Sep 17 00:00:00 2001 From: Garvita Jain <42664351+garvita-jain@users.noreply.github.com> Date: Wed, 2 Oct 2019 00:05:09 +0530 Subject: [PATCH] Update __main__.py --- flyingsnake/__main__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/flyingsnake/__main__.py b/flyingsnake/__main__.py index 843007f..ccd5ee9 100644 --- a/flyingsnake/__main__.py +++ b/flyingsnake/__main__.py @@ -116,7 +116,7 @@ def flyingsnake(input_file: str, c.echo("Drawing walls...") walls = Image.new("RGBA", (world.size.x, world.size.y)) draw = ImageDraw.Draw(walls) - i = 0 + i = 0 with c.progressbar(max_value = world.size.x*world.size.y) as bar: for x in range(world.size.x): for y in range(world.size.y): @@ -136,7 +136,7 @@ def flyingsnake(input_file: str, c.echo("Drawing liquids...") liquids = Image.new("RGBA", (world.size.x, world.size.y)) draw = ImageDraw.Draw(liquids) - i=0 + i=0 with c.progressbar(max_value = world.size.x*world.size.y) as bar: for x in range(world.size.x): for y in range(world.size.y): @@ -157,7 +157,7 @@ def flyingsnake(input_file: str, c.echo("Drawing blocks...") blocks = Image.new("RGBA", (world.size.x, world.size.y)) draw = ImageDraw.Draw(blocks) - i=0 + i=0 with c.progressbar(max_value = world.size.x*world.size.y) as bar: for x in range(world.size.x): for y in range(world.size.y): @@ -177,7 +177,7 @@ def flyingsnake(input_file: str, c.echo("Drawing wires...") wires = Image.new("RGBA", (world.size.x, world.size.y)) draw = ImageDraw.Draw(wires) - i=0 + i=0 with c.progressbar(max_value = world.size.x*world.size.y) as bar: for x in range(world.size.x): for y in range(world.size.y):