changeset 690:f2ee01316ba6 draft

SpliceX Repairs
author d3v11 <d3v11@d3v11.ano>
date Sun, 23 Oct 2011 16:37:08 -0500
parents 4f9abae731ee
children ecbea9c84ed0
files contrib/splicex/src/splicex.py
diffstat 1 files changed, 121 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/splicex/src/splicex.py	Sun Oct 23 16:33:18 2011 -0500
+++ b/contrib/splicex/src/splicex.py	Sun Oct 23 16:37:08 2011 -0500
@@ -710,175 +710,217 @@
   sys.exit(SpliceX + "error: -U list does not exist")
 
 Word = []
-ReadDictionary = open(dictionary, 'r')
 def REGULAR():
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      Word.append(line.replace('\n', ''))
 
 def L337():
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("a", "4", 1)
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("a", "4")
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("a", "@", 1)
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("a", "@")
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("a", "^", 1)
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("a", "^")
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("b", "8", 1)
      Word.append(line.replace('\n', ''))
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("b", "8")
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("e", "3", 1)
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("e", "3")
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("f", "ph", 1)
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("g", "6", 1)
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("g", "6")
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("g", "9", 1)
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("g", "9")
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("h", "#", 1)
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("h", "#")
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("i", "1", 1)
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("i", "1")
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("i", "!", 1)
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("i", "!")
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("i", "|", 1)
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("i", "|")
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("k", "X", 1)
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("k", "X")
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("l", "1", 1)
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("l", "1")
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("l", "|", 1)
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("l", "|")
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("o", "0", 1)
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("o", "0")
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("s", "5", 1)
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("s", "5")
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("s", "$", 1)
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("s", "$")
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("t", "7", 1)
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("t", "7")
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("t", "+", 1)
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("t", "+")
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("z", "2", 1)
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("z", "2")
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("a", "4")
      line = line.replace("b", "8")
@@ -895,6 +937,7 @@
      line = line.replace("z", "2")
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("a", "^")
      line = line.replace("b", "8")
@@ -911,6 +954,7 @@
      line = line.replace("z", "2")
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("a", "4")
      line = line.replace("b", "8")
@@ -927,6 +971,7 @@
      line = line.replace("z", "2")
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("a", "^")
      line = line.replace("b", "8")
@@ -943,6 +988,7 @@
      line = line.replace("z", "2")
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("a", "4")
      line = line.replace("b", "8")
@@ -959,6 +1005,7 @@
      line = line.replace("z", "2")
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("a", "^")
      line = line.replace("b", "8")
@@ -975,6 +1022,7 @@
      line = line.replace("z", "2")
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("a", "4")
      line = line.replace("b", "8")
@@ -991,6 +1039,7 @@
      line = line.replace("z", "2")
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("a", "^")
      line = line.replace("b", "8")
@@ -1007,6 +1056,7 @@
      line = line.replace("z", "2")
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("a", "4")
      line = line.replace("b", "8")
@@ -1023,6 +1073,7 @@
      line = line.replace("z", "2")
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("a", "^")
      line = line.replace("b", "8")
@@ -1039,6 +1090,7 @@
      line = line.replace("z", "2")
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("a", "4")
      line = line.replace("b", "8")
@@ -1055,6 +1107,7 @@
      line = line.replace("z", "2")
      Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("a", "^")
      line = line.replace("b", "8")
@@ -1072,10 +1125,12 @@
      Word.append(line.replace('\n', ''))
 
 def BW():
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      Word.append(line[::-1].replace('\n', ''))
 
 def CAPS():
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
          line = line.replace('\n', '')
          up = 0
@@ -1088,6 +1143,7 @@
              up ^= 1
          Word.append(a)
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
          line = line.replace('\n', '')
          up = 0
@@ -1100,6 +1156,7 @@
              up ^= 1
          Word.append(a)
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
          line = line.replace('\n', '')
          up = 0
@@ -1113,6 +1170,7 @@
              up = up + 1
          Word.append(a)
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
          line = line.replace('\n', '')
          up = 0
@@ -1126,6 +1184,7 @@
              up = up + 1
          Word.append(a)
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace('\n', '')
      a = 0
@@ -1141,6 +1200,7 @@
        c += let.upper()
      Word.append(c)
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace('\n', '')
      a = 0
@@ -1157,261 +1217,313 @@
        c += let.upper()
      Word.append(c)
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("a", "A", 1)
      if line.__contains__("A"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("a", "A")
      if line.__contains__("A"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("b", "B", 1)
      if line.__contains__("B"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("b", "B")
      if line.__contains__("B"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("c", "C", 1)
      if line.__contains__("C"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("c", "C")
      if line.__contains__("C"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("d", "D", 1)
      if line.__contains__("D"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("d", "D")
      if line.__contains__("D"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("e", "E", 1)
      if line.__contains__("E"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("e", "E")
      if line.__contains__("E"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("f", "F", 1)
      if line.__contains__("F"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("f", "F")
      if line.__contains__("F"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("g", "G", 1)
      if line.__contains__("G"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("g", "G")
      if line.__contains__("G"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("h", "H", 1)
      if line.__contains__("H"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("h", "H")
      if line.__contains__("H"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("i", "I", 1)
      if line.__contains__("I"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("i", "I")
      if line.__contains__("I"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("j", "J", 1)
      if line.__contains__("J"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("j", "J")
      if line.__contains__("J"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("k", "K", 1)
      if line.__contains__("K"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("k", "K")
      if line.__contains__("K"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("l", "L", 1)
      if line.__contains__("L"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("l", "L")
      if line.__contains__("L"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("m", "M", 1)
      if line.__contains__("M"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("m", "M")
      if line.__contains__("M"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("n", "N", 1)
      if line.__contains__("N"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("n", "N")
      if line.__contains__("N"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("o", "O", 1)
      if line.__contains__("O"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("o", "O")
      if line.__contains__("O"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("p", "P", 1)
      if line.__contains__("P"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("p", "P")
      if line.__contains__("P"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("q", "Q", 1)
      if line.__contains__("Q"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("q", "Q")
      if line.__contains__("Q"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("r", "R", 1)
      if line.__contains__("R"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("r", "R")
      if line.__contains__("R"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("s", "S", 1)
      if line.__contains__("S"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("s", "S")
      if line.__contains__("S"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("t", "T", 1)
      if line.__contains__("T"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("t", "T")
      if line.__contains__("T"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("u", "U", 1)
      if line.__contains__("U"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("u", "U")
      if line.__contains__("U"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("v", "V", 1)
      if line.__contains__("V"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("v", "V")
      if line.__contains__("V"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("w", "W", 1)
      if line.__contains__("W"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("w", "W")
      if line.__contains__("W"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("x", "X", 1)
      if line.__contains__("X"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("x", "X")
      if line.__contains__("X"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("y", "Y", 1)
      if line.__contains__("Y"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("y", "Y")
      if line.__contains__("Y"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("z", "Z", 1)
      if line.__contains__("Z"):
       Word.append(line.replace('\n', ''))
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      line = line.replace("z", "Z")
      if line.__contains__("Z"):
@@ -1419,6 +1531,7 @@
 
 def MIX():
     for Input in MixChars:
+     ReadDictionary = open(dictionary, 'r')
      for line in ReadDictionary:
           line = line.replace('\n', '')
           up = 0
@@ -1434,6 +1547,7 @@
 
     for Input in MixChars:
      for Input2 in MixChars:
+      ReadDictionary = open(dictionary, 'r')
       for line in ReadDictionary:
            line = line.replace('\n', '')
            up = 0
@@ -1448,6 +1562,7 @@
            Word.append(a)
 
     for Input in MixChars:
+     ReadDictionary = open(dictionary, 'r')
      for line in ReadDictionary:
       line = line.replace('\n', '')
       a = 0
@@ -1465,6 +1580,7 @@
 
     for Input in MixChars:
      for Input2 in MixChars:
+      ReadDictionary = open(dictionary, 'r')
       for line in ReadDictionary:
        line = line.replace('\n', '')
        a = 0
@@ -1483,10 +1599,12 @@
       Word.append(c)
 
 def MD5():
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      Word.append(md5(line.replace('\n', '')).hexdigest())
 
 def WEP5():
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      i = 0
      for let in line:
@@ -1498,6 +1616,7 @@
       Word.append(line.replace('0a', ''))
 
 def WEP13():
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      i = 0
      for let in line:
@@ -1520,6 +1639,7 @@
     except:
         pass
 
+    ReadDictionary = open(dictionary, 'r')
     for line in ReadDictionary:
      socen_words.append(line.replace('\n', ''))
     socen_words = list(set(socen_words))