From 26d9c8b3eae558c125ea00a418e8a85810af5853 Mon Sep 17 00:00:00 2001 From: Volker Birk Date: Sat, 13 Apr 2019 08:41:01 +0200 Subject: [PATCH] ... --- test/minimail.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/minimail.py b/test/minimail.py index e02dc69..d121aff 100644 --- a/test/minimail.py +++ b/test/minimail.py @@ -88,8 +88,9 @@ def recv_all(inbox, marker): t = p.stat().st_mtime if t > newest: newest = t - (inbox / marker).touch(exist_ok=True) - os.utime(str(inbox / marker), (newest, newest)) + if newest: + (inbox / marker).touch(exist_ok=True) + os.utime(str(inbox / marker), (newest, newest)) if not r: sleep(1)