summaryrefslogblamecommitdiff
path: root/hercules/code/serverutils.py
blob: 39a283ee8f07202e0f08d09c80d9175a07c5e207 (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/world/map/news.d"):
        return "tmw"
    else:
        return "evol"