Skip to content

Commit 922218b

Browse files
author
Alejandro Casanovas
committed
pep8 fixes
1 parent e0ce09e commit 922218b

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

O365/groups.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
log = logging.getLogger(__name__)
88

9+
910
class Group(ApiComponent):
1011
""" A Microsoft O365 group """
1112

@@ -104,6 +105,7 @@ def get_group_owners(self):
104105

105106
return [self.member_constructor(parent=self, **{self._cloud_data_key: lst}) for lst in data.get('value', [])]
106107

108+
107109
class Groups(ApiComponent):
108110
""" A microsoft groups class
109111
In order to use the API following permissions are required.

O365/message.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -725,8 +725,7 @@ def send(self, save_to_sent_folder=True):
725725
if not response:
726726
return False
727727

728-
self.object_id = 'sent_message' if not self.object_id \
729-
else self.object_id
728+
self.object_id = 'sent_message' if not self.object_id else self.object_id
730729
self.__is_draft = False
731730

732731
return True

O365/teams.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
MAX_BATCH_CHAT_MESSAGES = 50
1111
MAX_BATCH_CHATS = 50
1212

13+
1314
class Availability(Enum):
1415
"""Valid values for Availability."""
1516

0 commit comments

Comments
 (0)