Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

weeklyreview adds an empty line before adding the action #2

Open
arcturus140 opened this issue Mar 10, 2021 · 0 comments
Open

weeklyreview adds an empty line before adding the action #2

arcturus140 opened this issue Mar 10, 2021 · 0 comments

Comments

@arcturus140
Copy link

I have one action in my tickler file:

+p8 @call a friend start:2019-01-01 repeat:wednesday due:today

which adds the line to my todo.txt:

2021-03-10 +p8 @call a friend due:2021-03-11 t:2021-03-10

but it also adds an empty line. After running the script multiple times with different tickler, i get:


2021-03-10 +p5 @call a friend due:2021-03-11 t:2021-03-10 

2021-03-10 +p6 @call a friend due:2021-03-11 t:2021-03-10 

2021-03-10 +p7 @call a friend due:2021-03-11 t:2021-03-10 

because of

if firsttime:
  todo.write('\n')

what is the reason for this empty line?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant