Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ieew authored Apr 4, 2022
1 parent 2e21cf8 commit 124aec3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def __str__(self) -> str:
return str(self.__dict__)

def __eq__(self, other: "file"):
if all([
if other is not None and all([
other.version == self.version,
other.name == self.name
]):
Expand Down

0 comments on commit 124aec3

Please sign in to comment.