Commits

John Louis del Rosario committed 919659c

removed unneeded code

  • Participants
  • Parent commits a587a2f

Comments (0)

Files changed (1)

 import urllib
 import csv
 import os
-import unicodedata
 
 def init(dbname):
     ''' Initialize SQLite database and tables '''
     db.commit()
     cursor.close()
 
-def normalize_unicode(strings):
-    normalized = []
-    for s in strings:
-        try:
-            ns = unicodedata.normalize('NKFD', s).encode('ascii', 'ignore')
-        except TypeError, e:
-            ns = s
-        normalized.append(ns)
-    return normalized
-
 def main():
     parser = argparse.ArgumentParser(description='Place M:tG card details into SQLite table. Uses AngelFire\'s data.')