Update of /cvsroot/wpdev/xmlscripts/scripts/wolfpack/commands
In directory sc8-pr-cvs1:/tmp/cvs-serv30580/wolfpack/commands
Modified Files:
import.py
Log Message:
the check boxes on the import gump works ( sort of )
Index: import.py
===================================================================
RCS file: /cvsroot/wpdev/xmlscripts/scripts/wolfpack/commands/import.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** import.py 26 Jun 2003 12:34:54 -0000 1.2
--- import.py 26 Aug 2003 03:53:05 -0000 1.3
***************
*** 213,217 ****
file = open( filename, 'rt' ) # We know it's \r\n
! ( count, warnings ) = parseTxt( file, char.pos.map )
file.close()
--- 213,224 ----
file = open( filename, 'rt' ) # We know it's \r\n
! format = choice.switches[0]
!
! if format == 1: #Sphere
! char.socket.sysmessage( "Sorry, it's not implemented, yet" )
! elif format == 2: #WSC
! ( count, warnings ) = parseWsc( file, char.pos.map )
! else: # Text
! ( count, warnings ) = parseTxt( file, char.pos.map )
file.close()
|