Skip to content

Commit

Permalink
textmagic (smicallef#1103)
Browse files Browse the repository at this point in the history
  • Loading branch information
krishnasism committed Oct 8, 2020
1 parent c77aa1a commit e503b50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/sfp_textmagic.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def handleEvent(self, event):

self.sf.debug(f"Received event, {eventName}, from {srcModuleName}")

if self.opts["api_key"] == "" and self.opts["api_key_username"] == "":
if self.opts["api_key"] == "" or self.opts["api_key_username"] == "":
self.sf.error(
f"You enabled {self.__class__.__name__} but did not set an API Username/Key!"
)
Expand Down

0 comments on commit e503b50

Please sign in to comment.