Skip to content

Commit

Permalink
Clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexhsamuel committed Apr 28, 2021
1 parent 3fa1e46 commit 3e066da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/apsis/program.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def __init__(self, name: str, length: int, *,
MIME type of output.
"""
self.name = str(name)
self.length = len(self.data) if length is None else int(length)
self.length = int(length)
self.content_type = str(content_type)


Expand Down

0 comments on commit 3e066da

Please sign in to comment.