Advertisement
Guest User

Untitled

a guest
Aug 3rd, 2015
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.33 KB | None | 0 0
  1.         try:
  2.             if 'weapons' in self.config.sections():
  3.                 for weap in self.config.options('weapons'):
  4.                     key = self.config.getint('weapons', weap)
  5.                     self.weapons['weap'] = key
  6.         except ValueError:
  7.             self.error('Wrong weapon list. Can\'t start without it')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement