Skip to content

Commit

Permalink
Pull join out of f string
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes Veit committed Feb 5, 2021
1 parent 7538da7 commit 454469f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cleaner.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ def select_groups(self):
else:
self.chats = [groups[n - 1]]

print(f'\nSelected {", ".join(c.title for c in self.chats)}.\n')
groups_str = ', '.join(c.title for c in self.chats)
print(f'\nSelected {groups_str}.\n')

def run(self):
for chat in self.chats:
Expand Down

0 comments on commit 454469f

Please sign in to comment.