Skip to content

Commit

Permalink
prevents "takes 0 positional arguments but 2 were given" even though …
Browse files Browse the repository at this point in the history
…file seems to be saved
  • Loading branch information
smirolo committed Oct 4, 2024
1 parent d10da1e commit a680714
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion djaoapp/wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

#pylint: disable=invalid-name

def save_coverage():
def save_coverage(*args):
sys.stderr.write("saving coverage\n")
cov.stop()
cov.save()
Expand Down

0 comments on commit a680714

Please sign in to comment.