projects
/
gamesguru
/
ffpass.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2036888
)
cover edgecase with empty csv
author
louisabraham
<louis.abraham@yahoo.fr>
Fri, 31 May 2019 12:55:13 +0000
(14:55 +0200)
committer
louisabraham
<louis.abraham@yahoo.fr>
Fri, 31 May 2019 12:55:13 +0000
(14:55 +0200)
ffpass/__init__.py
patch
|
blob
|
history
diff --git
a/ffpass/__init__.py
b/ffpass/__init__.py
index 0d2521cb15b72a29f3f9c599f06e006920a7e7e6..43f6bed700b6a0b9d33c2af73c70b7314ea337b6 100644
(file)
--- a/
ffpass/__init__.py
+++ b/
ffpass/__init__.py
@@
-215,7
+215,7
@@
def addNewLogins(key, jsonLogins, logins):
"timesUsed": 0,
}
jsonLogins["logins"].append(entry)
- jsonLogins["nextId"]
= i + 1
+ jsonLogins["nextId"]
+= len(logins)
def guessDir():