Skip to content

Commit f7fd756

Browse files
committed
daemon: support kwargs in print() for backwards compatibility
1 parent 5787a21 commit f7fd756

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

slips/daemon.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def read_pidfile(self) -> Optional[int]:
4242
except (IOError, FileNotFoundError):
4343
return None
4444

45-
def print(self, text):
45+
def print(self, text, **kwargs):
4646
"""Prints output to logsfile specified in slips.yaml"""
4747
with open(self.logsfile, "a") as f:
4848
f.write(f"{text}\n")

0 commit comments

Comments
 (0)