diff --git a/beejournal.md b/beejournal.md index fe4c28e..43c2acf 100644 --- a/beejournal.md +++ b/beejournal.md @@ -10,3 +10,10 @@ I also noticed that one of our covers is growing mold on the inside. No clue wha When we made the shallow "supers" for feeding with fondant we didn't really care about the wall thickness. Turns out it does matter when they're too thick, because you cannot pull the frames from the super below anymore without removing them. One of the hives was actually open. I assume the cover got moved a couple of centimeters during one of the recent storms. Maybe I should secure them more since I don't have a tongue and groove or anything like that. + +## 2022-02-28 +I talked to Otto and he said I definitely still have to feed if they're running low. The should still have at least another comb. Unfortunately my usual fondant source was closed. I'll drive to a shop tomorrow. I wanted to buy some Dadant frames anyway. + +I also watched the latest stream by Ralf Sester. He had a lot to say about what to do right now. I got completely overwhelmed, of course. I also have to be a little careful because he is in a part of Germany that is ahead of us in the season. There is this really cool phenological clock available at the [DWD](https://www.dwd.de/DE/leistungen/phaeno_uhr/phaenouhr.html). In the region average they seem to be about 3 weeks ahead of us but the regions are probably a bit big for that to be accurate. + +Too tired now, will finish this tomorrow. :P diff --git a/pandoc.py b/pandoc.py index 024d123..503d1d0 100644 --- a/pandoc.py +++ b/pandoc.py @@ -1,13 +1,15 @@ import glob -import os +from pathlib import Path import subprocess specials = ["footer", "todo"] for filename in specials: - subprocess.run(f"pandoc {filename}.md > {filename}.html", shell=True) + with open(filename+".html", "w") as outfile: + subprocess.run(["pandoc", f"{filename}.md"], stdout=outfile) for filename in glob.glob("*.md"): - filename = os.path.splitext(filename)[0] + filename = Path(filename).stem if filename in specials: continue - subprocess.run(f"pandoc --toc --css=github-pandoc.css -A footer.html --standalone {filename}.md > {filename}.html", shell=True) + with open(filename+".html", "w") as outfile: + subprocess.run(["pandoc", "--toc", "--css=github-pandoc.css", "-A", "footer.html", "--standalone", f"{filename}.md"], stdout=outfile)