From 93f42bbcbf2c5a17f92b3d8f0b1ec9a767fd210b Mon Sep 17 00:00:00 2001 From: zlg Date: Thu, 18 Oct 2018 21:14:38 -0700 Subject: vgstash.DB.__init__: fix error output formatting --- src/vgstash/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vgstash/__init__.py b/src/vgstash/__init__.py index b3bd9b9..2adea4e 100755 --- a/src/vgstash/__init__.py +++ b/src/vgstash/__init__.py @@ -111,7 +111,7 @@ class DB(object): self.conn = sqlite3.connect(path) self.conn.row_factory = sqlite3.Row except sqlite3.OperationalError as e: - print("%s: %s".format(e, path)) + print("{}: {}".format(e, path)) exit() def add_filter(self, filter_name, stmt): -- cgit v1.2.3-54-g00ecf