Skip to content

Commit 9376df8

Browse files
Tobias JacobowitzTobias Jacobowitz
Tobias Jacobowitz
authored and
Tobias Jacobowitz
committed
dont add fundflow section if already there
1 parent 02f20a9 commit 9376df8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

jumpcloud_aws/app.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,8 @@ def cli(email, password, region, otp):
177177

178178
config = configparser.RawConfigParser()
179179
config.read(path_filename)
180-
config.add_section('fundflow')
180+
if not config.has_section('fundflow'):
181+
config.add_section('fundflow')
181182
config.set('fundflow', 'output', CFG.get('outputformat'))
182183
config.set(
183184
'fundflow',

0 commit comments

Comments
 (0)