]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/blobdiff - autorandr.py
Fixed exception handler
[deb_pkgs/autorandr.git] / autorandr.py
index 42a9dac3e96a931f8bf48e77a36f4f575fdf2ddf..1658f26e6a097b2733034c5e5fbdf6d5fe443bda 100755 (executable)
@@ -97,7 +97,7 @@ class AutorandrException(Exception):
         if self.line:
             retval.append(" (line %d)" % self.line)
         if self.original_exception:
-            retval.append(":\n  " % self.line)
+            retval.append(":\n  ")
             retval.append(str(self.original_exception).replace("\n", "\n  "))
         if self.report_bug:
             retval.append("\nThis appears to be a bug. Please help improving autorandr by reporting it upstream."