Python: fix timestamp flag