]> de.git.xonotic.org Git - xonotic/xonstat.git/blobdiff - xonstat/views/player.py
Acceptable version of the games breakdown tab.
[xonotic/xonstat.git] / xonstat / views / player.py
index 36ca55dd1f588ffc0b258dc3ea3be6e7f6c381a3..29ce3deb93ca70a8d3ca65198bd2698dbbc5cd30 100644 (file)
@@ -190,7 +190,7 @@ def get_overall_stats(player_id):
             k_d_ratio = None
 
         try:
-            cap_ratio = float(row.total_pickups)/row.total_captures
+            cap_ratio = float(row.total_captures)/row.total_pickups
         except:
             cap_ratio = None