From 3c7305b93c2708bebee37b0d7bed1af6f001449d Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 26 Aug 2017 18:24:31 +0530 Subject: [PATCH] ... --- kitty/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/config.py b/kitty/config.py index d02969436..567218c11 100644 --- a/kitty/config.py +++ b/kitty/config.py @@ -200,7 +200,7 @@ def positive_float(x): def adjust_line_height(x): if x.endswith('%'): - return float(x[:-1]) / 100.0 + return float(x[:-1].strip()) / 100.0 return int(x)