diff options
| author | 2020-02-04 12:23:29 +0700 | |
|---|---|---|
| committer | 2020-02-04 12:23:29 +0700 | |
| commit | 7f0e6733de8e2b6c3d13834916d790673547e1fb (patch) | |
| tree | 1f1b8fa74b87163111086564afd15aa3f17c7231 /tests/bot | |
| parent | Merge branch 'master' into fuzzy-tag-search (diff) | |
Fixed _last_fetch not being updated after each api call.
- Changed type of `self._last_fetch` to `float` and give it the initial value of `0.0` instead of `None`
- Assigned `time.time()` to `time_now` to avoid calling this function twice.
- Added `self._last_fetch = time_now` after calling the api call.
Diffstat (limited to 'tests/bot')
0 files changed, 0 insertions, 0 deletions