diff options
| author | Fuwn <[email protected]> | 2023-01-02 21:28:08 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-01-02 21:28:08 -0800 |
| commit | 9a056cbaee58f81f4406dc6c571bbf4c18348115 (patch) | |
| tree | 22c0887e5596cefbfd66222c51a41e0ae9006849 | |
| parent | feat: data source (diff) | |
| download | rubys_song_skipper-9a056cbaee58f81f4406dc6c571bbf4c18348115.tar.xz rubys_song_skipper-9a056cbaee58f81f4406dc6c571bbf4c18348115.zip | |
fix: time refresh
| -rw-r--r-- | rubys_song_skipper/bot.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rubys_song_skipper/bot.py b/rubys_song_skipper/bot.py index b3202ad..be00867 100644 --- a/rubys_song_skipper/bot.py +++ b/rubys_song_skipper/bot.py @@ -30,7 +30,7 @@ class Bot(commands.Bot): refresh = lines[1].strip() expire = lines[2].strip() - if time.time() > expire: + if time.time() > float(expire): file.close() refreshed = spotify.refresh_bearer(refresh) |