line too long

This commit is contained in:
Martin Diehl 2020-02-21 07:58:10 +01:00
parent f6c921e811
commit 98f5c601a3
1 changed files with 2 additions and 1 deletions

View File

@ -351,7 +351,8 @@ class DADF5():
for d in f[group].keys(): for d in f[group].keys():
try: try:
dataset = f['/'.join([group,d])] dataset = f['/'.join([group,d])]
message+=' {} / ({}): {}\n'.format(d,dataset.attrs['Unit'].decode(),dataset.attrs['Description'].decode()) message+=' {} / ({}): {}\n'.\
format(d,dataset.attrs['Unit'].decode(),dataset.attrs['Description'].decode())
except KeyError: except KeyError:
pass pass
return message return message