Skip to content

Instantly share code, notes, and snippets.

View MichalGniadek's full-sized avatar
🦀

Michał Gniadek MichalGniadek

🦀
View GitHub Profile
@MichalGniadek
MichalGniadek / autoreload.py
Created November 28, 2021 20:49
Beet plugin for autoreloading datapacks
from beet import Context, Function
import time
import os
import shutil
import datetime
def beet_default(ctx: Context):
if delete_from_link(ctx):
time.sleep(0.2)