summaryrefslogtreecommitdiffstats
path: root/fish_types.py
diff options
context:
space:
mode:
Diffstat (limited to 'fish_types.py')
-rw-r--r--fish_types.py4
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':