diff options
author | mrDoctorWho <mrdoctorwho@gmail.com> | 2015-03-25 12:41:04 +0300 |
---|---|---|
committer | mrDoctorWho <mrdoctorwho@gmail.com> | 2015-03-25 12:41:04 +0300 |
commit | 911b643cad2168e60d3e88056910a363dfb8a900 (patch) | |
tree | 01fa6b8e72c562df68471eb191dcf5559f70bcb9 /modules/mod_iq_stats.py | |
parent | 3eddda3cef4d2a95a149a11bb1933c96065f403d (diff) |
Fixed order in groupchat and personal messages
Fixed user deletion in user_activity
Fixed a typo in groupchats.py
Diffstat (limited to 'modules/mod_iq_stats.py')
-rw-r--r-- | modules/mod_iq_stats.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mod_iq_stats.py b/modules/mod_iq_stats.py index b3783ec..7a34539 100644 --- a/modules/mod_iq_stats.py +++ b/modules/mod_iq_stats.py @@ -33,7 +33,7 @@ def stats_handler(cl, iq): users = calcStats() shell = os.popen("ps -o vsz,rss,%%cpu,time -p %s" % os.getpid()).readlines() virt, real, percent, time = shell[1].split() - virt, real = int(virt)/1024.0, int(real)/1024.0 + virt, real = "%0.2f" % int(virt)/1024.0, "%0.2f" % int(real)/1024.0 stats = {"users": users, "MB": [virt, real], "percent": [percent], |