Skip to content

Commit

Permalink
Merge pull request #89 from nylas/incident-20230412-elevated-504s-fro…
Browse files Browse the repository at this point in the history
…m-exchange-server-when-sending

Change format string to be python 2 compatible
  • Loading branch information
tiger-zz authored Apr 13, 2023
2 parents cefbcd9 + b19fdac commit 96f9d32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exchangelib/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -2005,7 +2005,7 @@ def call(self, items, destination_format):
yield cls_map[elem.tag].from_xml(elem, account=None)

def get_payload(self, items, destination_format):
payload = create_element(f"m:{self.SERVICE_NAME}", DestinationFormat=destination_format)
payload = create_element("m:{}".format(self.SERVICE_NAME), DestinationFormat=destination_format)
item_ids = create_element("m:SourceIds")
for item in items:
set_xml_value(item_ids, item, version=None)
Expand Down

0 comments on commit 96f9d32

Please sign in to comment.