diff --git a/mypylib.py b/mypylib.py index af23acd..e0a9fc5 100644 --- a/mypylib.py +++ b/mypylib.py @@ -523,10 +523,11 @@ def dbSave(self): file.write(string) #end define - def dbLoad(self): + def dbLoad(self, fileName=False): result = False - try: + if not fileName: fileName = self.buffer[_localdbFileName] + try: file = open(fileName, 'r') original = file.read() file.close()