diff --git a/bin/logtool b/bin/logtool
index 7047935061cc6f3b4bf28a538ca65355bff14719..428ee375292a51dd3d5f900ce757ab85e5606ccf 100755
--- a/bin/logtool
+++ b/bin/logtool
@@ -131,7 +131,7 @@ following:
         elif cmd == "table":
             check_no_file()
 
-            print logmgr.quantity_data[args.pop(0)].table
+            print logmgr.get_table(args.pop(0))
         else:
             # not a known command, interpret as file name
             from os import access, R_OK