Follow-up for 53628612b7. With 'or', we ignore the empty string (but not '0'), and we only call time.time() lazily. So this works the same as the code that is replaced, but avoids the ugly repetition.
53628612b7