fix posting

master
Aevann1 2022-06-29 02:45:51 +02:00
parent b5c9d9116f
commit 8f9d982104
1 changed files with 1 additions and 1 deletions

View File

@ -347,7 +347,7 @@ def rehole_post(v, pid, hole):
return {"message": f"Post moved to {sub_to_str}!"} return {"message": f"Post moved to {sub_to_str}!"}
def on_post_hole_entered(post): def on_post_hole_entered(post, v):
if not post.sub or not post.subr: if not post.sub or not post.subr:
return return
hole = post.subr.name hole = post.subr.name