Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/dictionary.py
diff options
context:
space:
mode:
Diffstat (limited to 'dictionary.py')
-rw-r--r--dictionary.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/dictionary.py b/dictionary.py
index a7ad273..fd4e4da 100644
--- a/dictionary.py
+++ b/dictionary.py
@@ -14,8 +14,6 @@ word_list = []
class dictionary:
-
-
def __init__(self, DBname):
import sqlite3
@@ -116,7 +114,7 @@ if __name__ == "__main__":
num_words = k.getnumwords()
print num_words
- wordid = k.getrandomwordid(15)
+ wordid = k.getrandomwordid(15) #will return word of length 15
l = word("wordid", wordid )
print l.getword()