Merge pull request #109 from nix-community/irc-notify
Workaround broken irc library
This commit is contained in:
commit
d05907ca6e
1 changed files with 5 additions and 1 deletions
|
|
@ -185,7 +185,11 @@ def combine_command(args: Namespace) -> None:
|
|||
notifications = update_combined(combined_path)
|
||||
|
||||
if args.irc_notify:
|
||||
from .irc_notify import send
|
||||
try:
|
||||
from .irc_notify import send
|
||||
except ImportError as e:
|
||||
print(f"failed to import irc_notify, skipping notification: {e}")
|
||||
return
|
||||
|
||||
try:
|
||||
send(args.irc_notify, notifications)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue