mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-06-26 10:54:28 +02:00
![]() If the description contained multiple lines, it would be formatted as a
bytes object, including Python's `b""` marker for byte literals and any
newlines. This would then be passed literally to `timew`, which would
then choke on it, because it would record the newlines in its database.
This patch simply gets rid of the string join/split operations and the
encoding, which solves the issue.
Since we pass arrays instead of strings to `subprocess.call`, we are not
subject to command injection security vulnerabilities.
Fixes:
|
||
---|---|---|
.. | ||
CMakeLists.txt | ||
csv.py | ||
debug.py | ||
on-modify.timewarrior | ||
README | ||
totals.py |
# Timewarrior Extensions ## debug.py This is a debug extension that simply echoes back everything it sees in its input. It's useful for debugging to see how the command line affects what an extension sees. This will likely be removed before release. ## on-modify.timewarrior This is a Taskwarrior hook script that will integrate Timewarrior. ## csv.py This extension exports the data in CSV format, with a variable number of tag fields. ## totals.py Sample extension report that shows totals by tag.