Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/dict.py
diff options
context:
space:
mode:
Diffstat (limited to 'dict.py')
-rwxr-xr-xdict.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dict.py b/dict.py
index ec7623c..dab31fd 100755
--- a/dict.py
+++ b/dict.py
@@ -173,9 +173,9 @@ class Word:
return self.def_list
def get_usage(self):
+ self.usage_list = []
if self.synsetid_list == []:
self.get_synsetid()
- self.usage_list = []
for synsetid in self.synsetid_list:
self.cur.execute("SELECT * from las_sample where synsetid = ?", (synsetid,))
for (synsetid, sampleid, sample) in self.cur: