Skip to content

Commit

Permalink
sendCmd deprecation message correction
Browse files Browse the repository at this point in the history
Minor correction of the deprecation response to avoid the user being
confused
  • Loading branch information
Laurent Vermue committed Jun 28, 2017
1 parent 4c28220 commit 098cd77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fhem/fhem/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ def send(self, buf):

def sendCmd(self, msg):
if self.loglevel > 0:
print("Deprecation: please use self_cmd instead of selfCmd")
print("Deprecation: please use send_cmd instead of sendCmd")
return self.send_cmd(msg)

def send_cmd(self, msg):
Expand Down

0 comments on commit 098cd77

Please sign in to comment.