Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xCity/Parameters.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/City/Parameters.py b/City/Parameters.py
index 480530e..1f95e02 100755
--- a/City/Parameters.py
+++ b/City/Parameters.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python
#This python module is part of the Jam2Jam XO Activity, March, 2010
#
-#Copyright (C) 2010 Thorin Kerr & Andrew Brown
+#Copyright (C) 2012 Thorin Kerr & Andrew Brown
#
#This program is free software; you can redistribute it and/or modify
#it under the terms of the GNU General Public License as published by
@@ -36,7 +36,7 @@ class Instrument():
def loadImage(self, path, *scale):
img = pygame.image.load(path)
if scale:
- img = pygame.transform.scale(img, int(img.get_width() * scale[0]), int(img.get_height() * scale[-1]))
+ img = pygame.transform.scale(img, (int(img.get_width() * scale[0]), int(img.get_height() * scale[-1])))
img = img.convert_alpha()
self.active_image = img
self.Rect.size = img.get_size()