Changeset 75:79748a884eb5 for nagslang
- Timestamp:
- Sep 1, 2013, 7:44:45 PM (7 years ago)
- Branch:
- default
- rebase_source:
- 29e2bb2c7a7b8b9b5ef5488f41beff966f2d5cc8
- File:
-
- 1 edited
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.