Commit d261acf7 authored by Michal Čihař's avatar Michal Čihař

Fix coding style

parent 3febdcc5
...@@ -292,7 +292,7 @@ def render(request, project, widget='287x66', color=None, lang=None): ...@@ -292,7 +292,7 @@ def render(request, project, widget='287x66', color=None, lang=None):
# Progress border # Progress border
ctx.new_path() ctx.new_path()
ctx.set_source_rgb (*widget_data['colors'][color]['border']) ctx.set_source_rgb(*widget_data['colors'][color]['border'])
ctx.rectangle( ctx.rectangle(
widget_data['progress']['x'], widget_data['progress']['x'],
widget_data['progress']['y'], widget_data['progress']['y'],
...@@ -303,7 +303,7 @@ def render(request, project, widget='287x66', color=None, lang=None): ...@@ -303,7 +303,7 @@ def render(request, project, widget='287x66', color=None, lang=None):
# Text rendering # Text rendering
# Set text color # Set text color
ctx.set_source_rgb (*widget_data['colors'][color]['text']) ctx.set_source_rgb(*widget_data['colors'][color]['text'])
# Create pango context # Create pango context
pangocairo_context = pangocairo.CairoContext(ctx) pangocairo_context = pangocairo.CairoContext(ctx)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment