diff -pruN 1.4.5-2/debian/changelog 1.4.5-2.1/debian/changelog
--- 1.4.5-2/debian/changelog	2015-10-13 01:33:29.000000000 +0000
+++ 1.4.5-2.1/debian/changelog	2019-02-08 11:24:25.000000000 +0000
@@ -1,3 +1,11 @@
+kazam (1.4.5-2.1) unstable; urgency=high
+
+  * Non-maintainer upload.
+  * Patch after configuration API change (Closes: #916416)
+  * debian/control: Add missing build dependency on dh-python
+
+ -- Nicolas Braud-Santoni <nicoo@debian.org>  Fri, 08 Feb 2019 12:24:25 +0100
+
 kazam (1.4.5-2) unstable; urgency=medium
 
   * configparser_api_changes.patch: Update for changes
diff -pruN 1.4.5-2/debian/control 1.4.5-2.1/debian/control
--- 1.4.5-2/debian/control	2015-10-13 01:32:51.000000000 +0000
+++ 1.4.5-2.1/debian/control	2019-02-08 11:24:25.000000000 +0000
@@ -3,6 +3,7 @@ Section: video
 Priority: optional
 Maintainer: Andrew Starr-Bochicchio <asb@debian.org>
 Build-Depends: debhelper (>= 9),
+               dh-python,
                gettext,
                intltool,
                python3-all (>= 3.2),
diff -pruN 1.4.5-2/debian/patches/fix-configuration-handling.patch 1.4.5-2.1/debian/patches/fix-configuration-handling.patch
--- 1.4.5-2/debian/patches/fix-configuration-handling.patch	1970-01-01 00:00:00.000000000 +0000
+++ 1.4.5-2.1/debian/patches/fix-configuration-handling.patch	2019-02-08 11:24:25.000000000 +0000
@@ -0,0 +1,51 @@
+Subject: Fix configuration handling
+
+Origin: vendor
+Bug: https://bugs.debian.org/916416
+Forwarded: https://github.com/hzbd/kazam/pull/21
+From: Sergey Spitsyn <sswebcoder@gmail.com>
+Reviewed-by: Nicolas Braud-Santoni <nicoo@debian.org>
+Last-Update: 2019-02-07
+Applied-Upstream: no
+
+---
+ kazam/backend/config.py | 11 ++++-------
+ 1 file changed, 4 insertions(+), 7 deletions(-)
+
+diff --git a/kazam/backend/config.py b/kazam/backend/config.py
+index 64b5117..2274435 100644
+--- a/kazam/backend/config.py
++++ b/kazam/backend/config.py
+@@ -73,7 +73,7 @@ class KazamConfig(ConfigParser):
+     CONFIGFILE = os.path.join(CONFIGDIR, "kazam.conf")
+ 
+     def __init__(self):
+-        ConfigParser.__init__(self, self.DEFAULTS[0]['keys'])
++        super().__init__(self)
+         if not os.path.isdir(self.CONFIGDIR):
+             os.makedirs(self.CONFIGDIR)
+         if not os.path.isfile(self.CONFIGFILE):
+@@ -98,10 +98,9 @@ class KazamConfig(ConfigParser):
+                     if d_key == key:
+                         return d_section["keys"][key]
+ 
+-    def get(self, section, key, raw=True, fallback=None):
++    def get(self, section, key, **kwargs):
+         try:
+-            return super(KazamConfig, self).get(section,
+-                         key, raw=True, fallback=fallback)
++            return super(KazamConfig, self).get(section, key, **kwargs)
+         except NoSectionError:
+             default = self.find_default(section, key)
+             self.set(section, key, default)
+@@ -123,9 +122,7 @@ class KazamConfig(ConfigParser):
+     def set(self, section, option, value):
+         # If the section referred to doesn't exist (rare case),
+         # then create it
+-        if not self.has_section(section):
+-            self.add_section(section)
+-        ConfigParser.set(self, section, option, str(value))
++        super().set(section, option, str(value))
+ 
+     def write(self):
+         file_ = open(self.CONFIGFILE, "w")
diff -pruN 1.4.5-2/debian/patches/series 1.4.5-2.1/debian/patches/series
--- 1.4.5-2/debian/patches/series	2015-10-13 01:23:18.000000000 +0000
+++ 1.4.5-2.1/debian/patches/series	2019-02-08 11:24:25.000000000 +0000
@@ -1 +1,2 @@
 configparser_api_changes.patch
+fix-configuration-handling.patch
