Changeset 75:79748a884eb5
- Timestamp:
- 09/01/13 19:44:45 (8 years ago)
- Branch:
- default
- Phase:
- public
- Rebase:
- 32396532626232633761376238623962356566353438386634316265666639363666326435636338
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
nagslang/level.py
r72 r75 38 38 index = 0 39 39 num_points = 0 40 with resources.get_file( self.name) as f:40 with resources.get_file('levels', self.name) as f: 41 41 for line in f: 42 42 if inpoly: … … 78 78 print 'Not saving the level' 79 79 return 80 with resources.get_file( self.name, mode='w') as f:80 with resources.get_file('levels', self.name, mode='w') as f: 81 81 f.write('X-Size: %s\n' % self.x) 82 82 f.write('Y-Size: %s\n' % self.y)
Note:
See TracChangeset
for help on using the changeset viewer.