diff options
author | zlg <zlg@zlg.space> | 2018-10-18 21:14:38 -0700 |
---|---|---|
committer | zlg <zlg@zlg.space> | 2018-10-18 21:14:38 -0700 |
commit | 93f42bbcbf2c5a17f92b3d8f0b1ec9a767fd210b (patch) | |
tree | b7aa4255119dd6df8caa2cf69c39c3392280b815 | |
parent | README: fix inline <code> formatting (diff) | |
download | vgstash-93f42bbcbf2c5a17f92b3d8f0b1ec9a767fd210b.tar.gz vgstash-93f42bbcbf2c5a17f92b3d8f0b1ec9a767fd210b.tar.bz2 vgstash-93f42bbcbf2c5a17f92b3d8f0b1ec9a767fd210b.tar.xz vgstash-93f42bbcbf2c5a17f92b3d8f0b1ec9a767fd210b.zip |
vgstash.DB.__init__: fix error output formatting
Diffstat (limited to '')
-rwxr-xr-x | src/vgstash/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |