-
-
Notifications
You must be signed in to change notification settings - Fork 242
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve: Prevent call two time to get_start_time_for_period
Every time when is execute a command the function get_start_time_for_period is called two time each type time to get their values. This patch preven this case and use a dict called SHORTCUT_OPTIONS_VALUES to storage the values returned for each type time.
- Loading branch information
Showing
1 changed file
with
15 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters