summaryrefslogblamecommitdiff
path: root/hercules/code/serverutils.py
blob: c377bd799509fcab84672b140cd3f825ad27c3d8 (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)

import os

def detectServerType():
    if os.path.exists("oldserverdata/news.d"):
        return "tmw"
    else:
        return "evol"