From 022500372215eaacdb6104384570d79c701fde62 Mon Sep 17 00:00:00 2001 From: mitsudome-r <43976834+mitsudome-r@users.noreply.github.com> Date: Sat, 12 Jan 2019 16:45:08 +0900 Subject: [PATCH] [Fix] rosbag split size in runtime manager (#1817) --- .../packages/runtime_manager/scripts/runtime_manager_dialog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ros/src/util/packages/runtime_manager/scripts/runtime_manager_dialog.py b/ros/src/util/packages/runtime_manager/scripts/runtime_manager_dialog.py index 6775b1d70cf..a7bf8948141 100755 --- a/ros/src/util/packages/runtime_manager/scripts/runtime_manager_dialog.py +++ b/ros/src/util/packages/runtime_manager/scripts/runtime_manager_dialog.py @@ -2988,7 +2988,7 @@ def size_arg_get(self): mb = 0 if mb <= 0: tc.SetValue('') - return [ '--size=' + str(int(mb * 1024 * 1024)) ] if mb > 0 else [] + return [ '--size=' + str(int(mb)) ] if mb > 0 else [] def set_size_gdic(dlg, gdic={}): (w, h) = dlg.GetSize()