diff options
| -rw-r--r-- | fish_types.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fish_types.py b/fish_types.py index 73b58c1..61cd36a 100644 --- a/fish_types.py +++ b/fish_types.py @@ -28,8 +28,8 @@ class Fish(object): if not hasattr(self, 'theta_scale'): self.theta_scale = 12 - @classmethod - def by_type(cls, fish_type): + @staticmethod + def by_type(fish_type): if (fish_type == 'jellyfish'): return Jellyfish() if fish_type == 'dolphin': |
