Skip to content

Commit

Permalink
re2-fix to support python 3.8/3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
kohya-ss committed Mar 5, 2023
1 parent 2ae33db commit 46aee85
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion library/config_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,9 @@ def sanitize_argparse_namespace(self, argparse_namespace: argparse.Namespace) ->
def __merge_dict(*dict_list: dict) -> dict:
merged = {}
for schema in dict_list:
merged |= schema
# merged |= schema
for k, v in schema.items():
merged[k] = v
return merged


Expand Down

0 comments on commit 46aee85

Please sign in to comment.