aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/online_sessions.py (renamed from bin/online_duration.py)4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/online_duration.py b/bin/online_sessions.py
index ac9251b..3732f4c 100644
--- a/bin/online_duration.py
+++ b/bin/online_sessions.py
@@ -413,7 +413,7 @@ def _parse_args(args=sys.argv):
return parser.parse_args(args[1:])
-def write_online_duration(
+def process_online_sessions(
db_fd, db_fmt=DatabaseFormat.CSV,
fd=sys.stdout, fmt=OutputFormat.CSV,
group_by=GroupBy.USER,
@@ -430,7 +430,7 @@ def write_online_duration(
def main(args=sys.argv):
args = _parse_args(args)
- write_online_duration(**vars(args))
+ process_online_sessions(**vars(args))
if __name__ == '__main__':
main()