mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-23 23:58:02 -05:00
Fixed temporary directory removal bug
This commit is contained in:
parent
df3e80dd17
commit
fd3e678a95
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ class DirectoryController(object):
|
|||
shutil.rmtree(self.root_dir + os.sep + "coco" + os.sep + "node_modules",ignore_errors=True) #just in case
|
||||
try:
|
||||
if os.path.exists(self.tmp_directory):
|
||||
self.remove_directories()
|
||||
self.remove_tmp_directory()
|
||||
os.mkdir(self.tmp_directory)
|
||||
except:
|
||||
raise errors.CoCoError(u"There was an error creating the directory structure, do you have correct permissions? Please remove all and start over.")
|
||||
|
|
Loading…
Reference in a new issue