@@ -66,7 +66,7 @@ def create_database(filepath=None):
6666 cursor .execute ('''CREATE TABLE settings(id INTEGER PRIMARY KEY, refundAddress TEXT, currencyCode TEXT,
6767country TEXT, language TEXT, timeZone TEXT, notifications INTEGER, shipToName TEXT, shipToStreet TEXT,
6868shipToCity TEXT, shipToState TEXT, shipToPostalCode TEXT, shipToCountry TEXT, blocked BLOB, libbitcoinServer TEXT,
69- SSL INTEGER, seed TEXT, server TEXT, terms_conditions TEXT, refund_policy TEXT)''' )
69+ SSL INTEGER, seed TEXT, terms_conditions TEXT, refund_policy TEXT)''' )
7070 db .commit ()
7171 return db
7272
@@ -555,17 +555,17 @@ def __init__(self):
555555
556556 def update (self , refundAddress , currencyCode , country , language , timeZone , notifications , shipToName ,
557557 shipToStreet , shipToCity , shipToState , shipToPostalCode , shipToCountry , blocked ,
558- libbitcoinServer , ssl , seed , server , terms_conditions , refund_policy ):
558+ libbitcoinServer , ssl , seed , terms_conditions , refund_policy ):
559559 cursor = self .db .cursor ()
560560 try :
561561 cursor .execute ('''INSERT OR REPLACE INTO settings(id, refundAddress, currencyCode, country,
562562language, timeZone, notifications, shipToName, shipToStreet, shipToCity, shipToState, shipToPostalCode, shipToCountry,
563- blocked, libbitcoinServer, ssl, seed, server, terms_conditions, refund_policy)
564- VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,? )''' , (1 , refundAddress , currencyCode , country , language , timeZone ,
565- notifications , shipToName , shipToStreet , shipToCity ,
566- shipToState , shipToPostalCode , shipToCountry , blocked ,
567- libbitcoinServer , ssl , seed , server , terms_conditions ,
568- refund_policy ))
563+ blocked, libbitcoinServer, ssl, seed, terms_conditions, refund_policy)
564+ VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)''' , (1 , refundAddress , currencyCode , country , language , timeZone ,
565+ notifications , shipToName , shipToStreet , shipToCity ,
566+ shipToState , shipToPostalCode , shipToCountry , blocked ,
567+ libbitcoinServer , ssl , seed , terms_conditions ,
568+ refund_policy ))
569569 except Exception as e :
570570 print e .message
571571 self .db .commit ()
0 commit comments