Skip to content

Commit 7a9c207

Browse files
committed
STY: Fix ruff change
1 parent 6ba3fb9 commit 7a9c207

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

src/xtgeoviz/frontends/xsectplotting.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -143,11 +143,7 @@ def parse_args(self):
143143
def set_logger_verbosity(self):
144144
"""Use config setting to set eventual logging output."""
145145

146-
actual_verbosity = "normal"
147-
if self.verbosity:
148-
actual_verbosity = self.verbosity
149-
else:
150-
actual_verbosity = self.config["verbosity"]
146+
actual_verbosity = self.verbosity or self.config["verbosity"]
151147

152148
if actual_verbosity == "silent":
153149
logging.basicConfig(

0 commit comments

Comments
 (0)