Executing Big Bang...
Traceback (most recent call last):
File "chodewars.py", line 180, in
game.big_bang()
File "/home/matt/src/chodewars/chodewars/game.py", line 69, in big_bang
return self.db.big_bang()
File "/home/matt/src/chodewars/chodewars/db.py", line 145, in big_bang
os.remove(f)
OSError: [Errno 2] No such file or directory: 'matt.player'
I think this can be resolved by changing:
for f in os.listdir(self.path):
os.remove(f)
to
for f in os.listdir(self.path):
os.remove(os.path.join(self.path,f))
Executing Big Bang... Traceback (most recent call last): File "chodewars.py", line 180, in
game.big_bang()
File "/home/matt/src/chodewars/chodewars/game.py", line 69, in big_bang
return self.db.big_bang()
File "/home/matt/src/chodewars/chodewars/db.py", line 145, in big_bang
os.remove(f)
OSError: [Errno 2] No such file or directory: 'matt.player'
I think this can be resolved by changing:
to
But this will need to be tested.