Skip to content

Commit

Permalink
fix: bootstrap timezone (#325)
Browse files Browse the repository at this point in the history
  • Loading branch information
AuHau authored Jun 16, 2024
1 parent 3378fa8 commit cd81170
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toggl/utils/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def start(self): # type: () -> dict

inquirer.Text('timezone', 'Timezone to use (value \'{}\', will keep Toggl\'s setting)'.format(self.TOGGL_TIMEZONE),
default=self.SYSTEM_TIMEZONE,
validate=lambda answers, current: current in pendulum.timezones
validate=lambda answers, current: current in pendulum.timezones()
or current == self.SYSTEM_TIMEZONE
or current == self.TOGGL_TIMEZONE),
inquirer.List('theme', message='What theme should be used for the CLI interface?',
Expand Down

0 comments on commit cd81170

Please sign in to comment.