diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2014-09-16 18:38:26 +0200 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2014-09-16 18:38:26 +0200 |
commit | 3b3ec3a18a08285dc82d22ef30473cb0048a684a (patch) | |
tree | 7b0aae3a17e21c9f56b766bb14e14492e62e2b97 | |
parent | 3da5e9ec5081674ef4e38fe900c6ab3534e07b2e (diff) |
Minor
-rwxr-xr-x | slippy.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -581,7 +581,7 @@ class Renderer: layout = self.create_layout (text, markup=markup) if desc: layout.set_font_description (pango.FontDescription (desc)) - if align != None: + if align is not None: layout.set_alignment (align) elif halign < 0: layout.set_alignment (pango.ALIGN_RIGHT) |