Skip to content

Commit

Permalink
Use the correct signature for exit(...).
Browse files Browse the repository at this point in the history
  • Loading branch information
CraigMiloRogers committed Aug 25, 2020
1 parent 552da16 commit 4c905d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kgtk/cli/import_wikidata.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ def enter(self):
lineterminator=csv_line_terminator)


def exit(self):
def exit(self, *args, **kwargs):
if self.node_f is not None:
self.node_f.close()
if self.edge_f is not None:
Expand Down

0 comments on commit 4c905d9

Please sign in to comment.