diff options
author | 2014-04-23 17:04:54 +0300 | |
---|---|---|
committer | 2014-04-23 16:24:46 +0200 | |
commit | 4e44306e8c10fcea59f6927035ce9b956d4140e9 (patch) | |
tree | 5eb398716a322519a05d89cebb25e71d3a810597 /contrib/importers | |
parent | contrib: typo (diff) | |
download | password-store-4e44306e8c10fcea59f6927035ce9b956d4140e9.tar.xz password-store-4e44306e8c10fcea59f6927035ce9b956d4140e9.zip |
keepassx2pass: handle forward slash '/' in titles
Without this, a forward slash in the title creates a new directory
in the password-store. This replaces forward slashes with dashes.
Diffstat (limited to 'contrib/importers')
-rwxr-xr-x | contrib/importers/keepassx2pass.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/importers/keepassx2pass.py b/contrib/importers/keepassx2pass.py index 1505edc..532b8d0 100755 --- a/contrib/importers/keepassx2pass.py +++ b/contrib/importers/keepassx2pass.py @@ -26,7 +26,7 @@ def space_to_camelcase(value): def cleanTitle(title): # make the title more command line friendly - title = re.sub("(\\|\||\(|\))", "-", title) + title = re.sub("(\\|\||\(|\)|/)", "-", title) title = re.sub("-$", "", title) title = re.sub("\@", "At", title) title = re.sub("'", "", title) |