Difference for python/CFBank.py from version 1.4 to 1.5


version 1.4 version 1.5
Line 23
 
Line 23
 import os.path  import os.path
 import shelve  import shelve
   
 import CFPython  import Crossfire
   
 class CFBank:  class CFBank:
  bankdb = {}   bankdb = {}
   
  def __init__(self, bankfile):   def __init__(self, bankfile):
  self.bankdb_file = os.path.join(CFPython.GetLocalDirectory(),bankfile)   self.bankdb_file = os.path.join(Crossfire.LocalDirectory(),bankfile)
  self.bankdb = shelve.open(self.bankdb_file)   self.bankdb = shelve.open(self.bankdb_file)
   
  def deposit(self, user, amount):   def deposit(self, user, amount):


Legend:
line(s) removed in v.1.4 
line(s) changed
 line(s) added in v.1.5

File made using version 1.96 of cvs2html by leaf at 2006-02-15 17:25