aboutsummaryrefslogtreecommitdiff
path: root/pixelterm
diff options
context:
space:
mode:
Diffstat (limited to 'pixelterm')
-rwxr-xr-xpixelterm/gifterm.py2
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