diff options
author | jaseg <jaseg@jaseg.net> | 2014-03-26 12:14:35 +0100 |
---|---|---|
committer | jaseg <jaseg@jaseg.net> | 2014-03-26 12:14:35 +0100 |
commit | 67a0cf000a4bd01ae6b40241ad984856d3fedb1c (patch) | |
tree | 23a47bb022287fcfefe86d518544405a4d0adfa2 | |
parent | 755b369ff9a564af3bee5273ebc929e76dacf81d (diff) | |
download | pixelterm-67a0cf000a4bd01ae6b40241ad984856d3fedb1c.tar.gz pixelterm-67a0cf000a4bd01ae6b40241ad984856d3fedb1c.tar.bz2 pixelterm-67a0cf000a4bd01ae6b40241ad984856d3fedb1c.zip |
Fixed crashes of gifterm when displaying certain GIFs
-rwxr-xr-x | pixelterm/gifterm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pixelterm/gifterm.py b/pixelterm/gifterm.py index 7ca25ed..4c87978 100755 --- a/pixelterm/gifterm.py +++ b/pixelterm/gifterm.py @@ -37,7 +37,7 @@ def main(): frame.putpalette(palette) c = frame.convert("RGBA") - if img.info['background'] != img.info['transparency']: + if img.info['background'] != img.info.get('transparency'): last_frame.paste(c, c) else: last_frame = c |