Skip to content

Commit

Permalink
Removed duplicate function
Browse files Browse the repository at this point in the history
Removed duplicate `def __str__` function in `demos/cli/layer.py` file
  • Loading branch information
mikesalmonuk authored and tgalal committed Jun 12, 2019
1 parent 69c5211 commit 7f336c7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions yowsup/demos/cli/layer.py
Expand Up @@ -572,9 +572,6 @@ def onGetContactPictureResult(self, resultGetPictureIqProtocolEntiy, getPictureI
#resultGetPictureIqProtocolEntiy.writeToFile("/tmp/yowpics/%s_%s.jpg" % (getPictureIqProtocolEntity.getTo(), "preview" if resultGetPictureIqProtocolEntiy.isPreview() else "full")) #resultGetPictureIqProtocolEntiy.writeToFile("/tmp/yowpics/%s_%s.jpg" % (getPictureIqProtocolEntity.getTo(), "preview" if resultGetPictureIqProtocolEntiy.isPreview() else "full"))
pass pass


def __str__(self):
return "CLI Interface Layer"

@clicmd("Print this message") @clicmd("Print this message")
def help(self): def help(self):
self.print_usage() self.print_usage()

0 comments on commit 7f336c7

Please sign in to comment.