aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_resources.py
diff options
context:
space:
mode:
authorGravatar Shirayuki Nekomata <[email protected]>2020-02-04 12:23:29 +0700
committerGravatar Shirayuki Nekomata <[email protected]>2020-02-04 12:23:29 +0700
commit7f0e6733de8e2b6c3d13834916d790673547e1fb (patch)
tree1f1b8fa74b87163111086564afd15aa3f17c7231 /tests/test_resources.py
parentMerge 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/test_resources.py')
0 files changed, 0 insertions, 0 deletions