summaryrefslogblamecommitdiff
path: root/hercules/code/server/utils.py
blob: ebbddf3ee779a3df04604b16895c281dcf7b7059 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                  
# -*- coding: utf8 -*-
#
# Copyright (C) 2014  Evol Online
# Author: Andrei Karas (4144)

from code.fileutils import removeAllFiles, makeDir

def cleanServerData():
    removeAllFiles("newserverdata")
    makeDir("newserverdata/conf")
    makeDir("newserverdata/db/re/")
    makeDir("newserverdata/npc/re/")