Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWalter Bender <walter@walter-laptop.(none)>2010-01-19 19:45:08 (GMT)
committer Walter Bender <walter@walter-laptop.(none)>2010-01-19 19:45:08 (GMT)
commit7e8a1c2644bf5ed50de5b63c934b35b226a30feb (patch)
tree998f84b17e4519ae84390e3c4dac152656dd87a3
parentba91f4a471265a2f380fd7ffc424b1a52c34d7e9 (diff)
clean up
-rwxr-xr-xgencards.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/gencards.py b/gencards.py
index 57042f9..91c1d8f 100755
--- a/gencards.py
+++ b/gencards.py
@@ -118,7 +118,7 @@ class SVG:
svg_string += "</g>\n"
return svg_string
- def _svg_line_of_dots(self, n, x, y, stroke):
+ def _svg_line_of_dots(self, n, x, y):
cxtab = {5:37.5,7:27.5,11:7.5,10:37.5,14:27.5,22:7.5,15:37.5,21:27.5,\
33:7.5}
svg_string = "%s%f%s%f%s" % ("<g\n transform=\"translate(",x,", ",y,
@@ -532,7 +532,6 @@ class SVG:
strings = NUMBER_NAMES[n].split(' ')
svg_string = ""
self.set_font("DejaVu Serif")
- self.set_colors([stroke, stroke])
if len(strings) == 1:
svg_string += self._svg_text(x, 48, 26, "", strings[0])
else: