mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-26 12:53:12 -06:00
fixed small typo
This commit is contained in:
parent
aa3ca82f25
commit
cd5b71a26e
@ -247,7 +247,7 @@ class BaseBuffer(base.Buffer):
|
|||||||
|
|
||||||
def get_item(self):
|
def get_item(self):
|
||||||
index = self.buffer.list.get_selected()
|
index = self.buffer.list.get_selected()
|
||||||
if index > 0 and self.session.db.get(self.name) != None:
|
if index > -1 and self.session.db.get(self.name) != None:
|
||||||
return self.session.db[self.name][index]
|
return self.session.db[self.name][index]
|
||||||
|
|
||||||
def can_share(self):
|
def can_share(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user