on-modify.timewarrior: Fix "from __future__ imports must occur at the beginning of the file"

Fixes the following error with Python 3.6.8:
```
  File "$HOME/.task/hooks/on-modify.timewarrior", line 33
    from __future__ import print_function
SyntaxError: from __future__ imports must occur at the beginning of the file
```
This commit is contained in:
Dennis Schridde 2019-07-10 19:37:57 +02:00 committed by Thomas Lauf
parent 2a49f54d60
commit 1e46ca5888

View file

@ -25,13 +25,13 @@
#
###############################################################################
from __future__ import print_function
import sys
import json
import subprocess
import shlex
from __future__ import print_function
# Hook should extract all of the following for use as Timewarrior tags:
# UUID
# Project