the-xkcd-community / the-red-spider-project

Coding and xkcd combined, for fun!
http://the-xkcd-community.github.com/the-red-spider-project
Other
40 stars 33 forks source link

level_up does not initialize score file directory #66

Closed sleepingdrone closed 11 years ago

sleepingdrone commented 11 years ago

The folder "$RED_SPIDER_ROOT/work/level_up" doesn't exist and the call level_up -i INIT subsequently fails.

The unittest doesn't reflect this.

jgonggrijp commented 11 years ago

Just to make sure: you do replace INIT by the directory that you want to use level_up for, right?

I can't find any mkdir in the code, so you are probably right that level_up doesn't check whether work/level_up exists. If I'm right you wrote a fix for it. Would you mind submitting a pull request for that branch?

sleepingdrone commented 11 years ago

Yes, that's correct.