Skip to content

Commit 3e4e64a

Browse files
authored
Merge pull request #62 from passren/0.7.2
Bug fix
2 parents 0e0e78d + c2cbf85 commit 3e4e64a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pydynamodb/sql/ddl_alter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ def _construct_replica_gsi(
365365
options = self._parse_option_path(option_path_name, option_value)
366366
converted_ = {"IndexName": index_name}
367367

368-
if options is not None or len(options) > 0:
368+
if options is not None and len(options) > 0:
369369
converted_.update(options)
370370
gsis_.append(converted_)
371371

0 commit comments

Comments
 (0)