From: Kevin A. <ka...@us...> - 2004-08-26 18:37:02
|
Update of /cvsroot/pythoncard/PythonCard In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv662 Modified Files: model.py Log Message: fixed CustomDialog standalone bug Index: model.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/model.py,v retrieving revision 1.180 retrieving revision 1.181 diff -C2 -d -r1.180 -r1.181 *** model.py 12 Aug 2004 19:11:13 -0000 1.180 --- model.py 26 Aug 2004 18:36:52 -0000 1.181 *************** *** 1162,1166 **** # figure out the .rsrc.py filename based on the module name stored in library.zip filename = os.path.split(sys.modules[self.__class__.__module__].__file__)[1] ! filename = os.path.join(parent.application.applicationDirectory, filename) else: # figure out the .rsrc.py filename based on the module name --- 1162,1166 ---- # figure out the .rsrc.py filename based on the module name stored in library.zip filename = os.path.split(sys.modules[self.__class__.__module__].__file__)[1] ! filename = os.path.join(self.parent.application.applicationDirectory, filename) else: # figure out the .rsrc.py filename based on the module name |