Skip to content

Commit 3be765b

Browse files
committed
fix config save
1 parent 54a3065 commit 3be765b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pubweb/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def get_config_path() -> Path:
4242

4343
def save_config(auth_config: AuthConfig):
4444
ini_config = configparser.SafeConfigParser()
45-
ini_config['DEFAULT'] = auth_config.__dict__
45+
ini_config['DEFAULT'] = auth_config._asdict()
4646
config_path = get_config_path()
4747
config_path.parent.mkdir(exist_ok=True)
4848
with config_path.open('w') as configfile:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434
setup(
3535
name='pubweb',
36-
version='0.3.1',
36+
version='0.3.2',
3737
author='Fred Hutch',
3838
license='MIT',
3939
author_email='[email protected]',

0 commit comments

Comments
 (0)