Skip to content

Commit aa113a5

Browse files
committed
small fixes
1 parent 480b606 commit aa113a5

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

csv_to_google_sheet.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ def write_to_sheet(name: str, sheet: list) -> None:
146146
array = read_csv_and_write_to_sheet(array, name, "Month", (last, 5, 119, 26, 0, 7))
147147
array = read_csv_and_write_to_sheet(array, name, "Year", (last, 6, 147, 25, 0, 4))
148148

149+
array.append({"range": "A1", "values": [["Date"]]}) # go to beginning
149150
sheet.batch_update(array)
150151

151152

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
python_version>=3.9
22
broadlink==0.18.3 # only needed when you want to look up MAC addresses with the tool python_broadlink_smart_plug_mini_info.py, alternatively look for the MAC addresses in your router
3-
python_dateutil==2.8.2
3+
python-dateutil==2.8.2
44
gspread==5.6.2 # only needed when you use csv_to_google_sheet.py

0 commit comments

Comments
 (0)