Etiquette, expectations, entitlement...@autoexec_bin | #magiclantern | Discord | Reddit | Server issues
[ README ] module_strings.hTraceback (most recent call last): File "../readme2modulestrings.py", line 108, in <module> seconds = float(split[0]) + float(split[1])ValueError: could not convert string to float:
could be a problem with the version of python you are running
- seconds = float(split[0]) + float(split[1])- last_change_date = datetime.utcfromtimestamp(seconds).strftime("%Y-%m-%d %H:%M:%S UTC")
last_change_date = run("LC_TIME=EN hg log . -l 1 --template '{date|hgdate}'")split = last_change_date.split(" ")seconds = float(split[0]) + float(split[1])last_change_date = datetime.utcfromtimestamp(seconds).strftime("%Y-%m-%d %H:%M:%S UTC")
also hg add