Commit 27fe2d66 authored by Michal Štefánik's avatar Michal Štefánik
Browse files

v0.2.2: log_precision_entry header cell correction

parent 6bd1e88f
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -40,7 +40,8 @@ def log_precision_entry(competitor_name: str, precision: float = 0):
    logs_list = logs_worksheet.get_all_values()
    current_len = len(logs_list)
    current_week = "Week %s" % _get_week(now)
    header_cell = "=CONCAT(D%s;E%s)" % (current_len+1, current_len+1)
    header_cell = '=CONCAT(D%s;E%s)' % (current_len+1, current_len+1)
    # append entry
    logs_worksheet.append_row([header_cell, current_len, current_time, current_week, competitor_name, float(precision)])
    logs_worksheet.append_row(["", current_len, current_time, current_week, competitor_name, float(precision)])
    logs_worksheet.update_cell(current_len+1, 1, header_cell)
    return "Alles gutte!"
+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@ from setuptools import find_packages, setup

setup(
    name="pv211_utils",
    version='0.2.1',
    version='0.2.2',
    description="Utilities for PV211 project",
    long_description="",
    classifiers=[],