mirror of
https://github.com/FAUSheppy/ths-datenlogger
synced 2025-12-09 13:18:32 +01:00
fix windows throwing wrong error
This commit is contained in:
committed by
atlantispc_sheppy
parent
cdd0fec113
commit
838815d1d6
@@ -173,7 +173,7 @@ def csvread_txt(path,datapoints,pt,ph,pd):
|
||||
row["taupunkt"] = 0.0
|
||||
parse_line(datapoints,row,'datetime',[ ('temp',pt) , ('hum',ph) , ('taupunkt',pd) ],\
|
||||
plot_timeutils.time_from_csv,timeformat="%d-%m-%Y_%H:%M")
|
||||
except UnicodeError:
|
||||
except (UnicodeError, IndexError):
|
||||
count = csvread_txt_fallback(path,datapoints,pt,ph,pd)
|
||||
|
||||
print("Info: Ignored %d lines at beginning of the file"%count)
|
||||
|
||||
Reference in New Issue
Block a user