fixing the requirements-txt-fixer #960

This commit is contained in:
Jay Sharma 2023-09-27 01:43:35 -05:00
parent 516a8a263c
commit 1196542a9d

View file

@ -62,7 +62,7 @@ class Requirement:
def fix_requirements(f: IO[bytes]) -> int:
requirements: list[Requirement] = []
before = list(f)
before = list(set(f))
after: list[bytes] = []
before_string = b''.join(before)