From c4a703eb8429ec69589ed66906455ac1882d5d08 Mon Sep 17 00:00:00 2001 From: niphlod Date: Tue, 3 Mar 2015 20:30:40 +0100 Subject: [PATCH] fix docs at the top to honor correctly expiration when used in models Thanks @KabluBR for spotting it --- scripts/sessions2trash.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/sessions2trash.py b/scripts/sessions2trash.py index 1bb773af..bbc2f408 100755 --- a/scripts/sessions2trash.py +++ b/scripts/sessions2trash.py @@ -24,7 +24,7 @@ Typical usage: # Delete session in a module (move to the modules folder) from sessions2trash import single_loop def delete_sessions(): - single_loop() + single_loop(auth.settings.expiration) """