MOON
Server: Apache
System: Linux server1.studioinfinity.com.br 2.6.32-954.3.5.lve1.4.90.el6.x86_64 #1 SMP Tue Feb 21 12:26:30 UTC 2023 x86_64
User: artinside (517)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //proc/self/root/usr/lib/python2.6/site-packages/clcommon/cloutput.py
#!/usr/bin/python

#
# Copyright CloudLinux Zug GmbH 2010-2015 All Rights Reserved
#
# Licensed under CLOUD LINUX LICENSE AGREEMENT
# http://cloudlinux.com/docs/LICENCE.TXT
#

import simplejson


def prepare_attention_json(msg):
        msg = msg.replace(' \n', '; ').replace('\n', '; ')
        return simplejson.dumps({'success': 0, 'Error': msg})


def prepare_data_json(jsondata):
    return simplejson.dumps({'success': 1, 'data': jsondata})