Commit 0af966b6 authored by Nils Philippsen's avatar Nils Philippsen

Bug 641259 - [abrt] gimp-2:2.6.11-1.fc14: py-slice.py:172:slice:TypeError:...

Bug 641259 - [abrt] gimp-2:2.6.11-1.fc14: py-slice.py:172:slice:TypeError: integer argument expected, got float

py-slice: cast cellspacing to int in pyslice() to avoid tracebacks
parent a69cd746
......@@ -35,6 +35,9 @@ gettext.install("gimp20-python", gimp.locale_directory, unicode=True)
def pyslice(image, drawable, save_path, html_filename,
image_basename, image_extension, separate,
image_path, cellspacing, animate, skip_caps):
cellspacing = int (cellspacing)
if animate:
count = 0
drw = []
......
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