more minor tweaks, benefit from get_files

This commit is contained in:
Dima Gerasimov 2020-05-03 17:15:51 +01:00
parent 9bd61940b8
commit 0b61dd9e42
6 changed files with 28 additions and 31 deletions

View file

@ -1,11 +1,11 @@
#!/usr/bin/env python3
# pip install influxdb
from influxdb import InfluxDBClient # type: ignore
from my.lastfm import get_scrobbles
from my.lastfm import scrobbles
def main():
scrobbles = get_scrobbles()
def main() -> None:
scrobbles = scrobbles()
client = InfluxDBClient()
# TODO client.create_database('lastfm')