Skip to content

Commit

Permalink
Applied black to correct bad syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Samuelsson committed Sep 6, 2023
1 parent 4b59cb0 commit 725446e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pysurfex/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -679,13 +679,13 @@ def __init__(self, env, conf):
self.update_setting("SURFEX#TREEDRAG#XSCALE_H_TREE", env["XSCALE_H_TREE"])
if "LFAKETREE" in env:
envsetting = env["LFAKETREE"].replace(".", "").lower()
envsetting = envsetting.split(',')
envsetting = envsetting.split(",")
lfaketree = [False for i in range(7)]
for ii in range(len(envsetting)):
for ii in range(len(envsetting)):
if envsetting[ii].strip()[0] == "t":
lfaketree[ii] = True
lfaketree[ii] = True
else:
lfaketree[ii] = False
lfaketree[ii] = False
self.update_setting("SURFEX#TREEDRAG#FAKETREES", lfaketree)

# Heat capacity
Expand Down

0 comments on commit 725446e

Please sign in to comment.