summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorzlg <zlg@zlg.space>2018-10-18 21:14:38 -0700
committerzlg <zlg@zlg.space>2018-10-18 21:14:38 -0700
commit93f42bbcbf2c5a17f92b3d8f0b1ec9a767fd210b (patch)
treeb7aa4255119dd6df8caa2cf69c39c3392280b815 /src
parentREADME: fix inline <code> formatting (diff)
downloadvgstash-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-xsrc/vgstash/__init__.py2
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):
. This change gives users more control over where they put their DB. Be sure to update your environment variable if you have it set! 2016-11-18Remove settings from helpers.shZe Libertine Gamer1-5/+0 Sourcing them in .bash_profile screws up login if they're set. 2016-11-15Correct phrasing in README.Ze Libertine Gamer1-4/+4 2016-11-13DerpZe Libertine Gamer1-0/+1 2016-11-03Improve error handling in shell scriptsZe Libertine Gamer4-3/+23 2016-10-24Correct run_again, add recursionZe Libertine Gamer1-0/+4 Loops and functions -- oh my, what a useful combination. :) 2016-10-21Add quotes to correct behavior for arglistZe Libertine Gamer1-1/+1 2016-10-14updater.sh: add recursion, error handlingZe Libertine Gamer1-43/+101 2016-10-14Correct pipe-handling behaviorZe Libertine Gamer1-1/+9 2016-10-12Clarify a method to move between platformsZe Libertine Gamer1-2/+5 Also correct a typo.