Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- try:
- if 'weapons' in self.config.sections():
- for weap in self.config.options('weapons'):
- key = self.config.getint('weapons', weap)
- self.weapons['weap'] = key
- except ValueError:
- self.error('Wrong weapon list. Can\'t start without it')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement