Skip to content

Commit

Permalink
Fix unresolved reference error in kibble/api/plugins/database.py (#111)
Browse files Browse the repository at this point in the history
There was no such variable `ESVersion` -- possibly a typo as `self.ESversion` is defined on line 147
  • Loading branch information
kaxil authored Dec 13, 2020
1 parent 3485535 commit c14a053
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kibble/api/plugins/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,5 +138,5 @@ def __init__(self, config: KibbleConfigParser):
self.ESversion = int(self.ES.info()["version"]["number"].split(".")[0])
if self.ESversion >= 7:
self.ES = KibbleESWrapperSeven(self.ES)
elif self.ESVersion >= 6:
elif self.ESversion >= 6:
self.ES = KibbleESWrapper(self.ES)

0 comments on commit c14a053

Please sign in to comment.