pyupgrade in calendar-sync.
This commit is contained in:
Awais Qureshi
2021-03-08 13:13:52 +05:00
parent 66f0f9891f
commit d0ed3ee942
15 changed files with 33 additions and 30 deletions

View File

@@ -16,4 +16,4 @@ def get_calendar_event_id(user, block_key, date_type, hostname):
Returns:
event id (str)
"""
return '{}.{}.{}@{}'.format(user.id, block_key, date_type, hostname)
return f'{user.id}.{block_key}.{date_type}@{hostname}'