Fix calls to post_message in Markets

This commit is contained in:
Mark Veidemanis 2022-05-09 08:23:24 +01:00
parent e4c4f1b41f
commit ddbbbc2bbf
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 2 additions and 2 deletions

View File

@ -34,10 +34,10 @@ class Markets(util.Base):
def get_send_settings(self, platform):
if platform == "agora":
send_setting = settings.Agora.Send
post_message = self.agora.agora.contact_message_post
post_message = self.agora.api.contact_message_post
elif platform == "lbtc":
send_setting = settings.LocalBitcoins.Send
post_message = self.lbtc.lbtc.contact_message_post
post_message = self.lbtc.api.contact_message_post
return (send_setting, post_message)