summaryrefslogtreecommitdiffstats
path: root/share/extensions/Barcode/Code25i.py
diff options
context:
space:
mode:
authorMartin Owens <doctormo@gmail.com>2014-05-16 13:51:26 +0000
committerMartin Owens <doctormo@gmail.com>2014-05-16 13:51:26 +0000
commit1120f847062f17b8256010f73a083dc76a4a4fcb (patch)
tree51e15f75b3b322be813f5f3a10d56f7bc6ae205f /share/extensions/Barcode/Code25i.py
parentfix C++11 compilation (diff)
downloadinkscape-1120f847062f17b8256010f73a083dc76a4a4fcb.tar.gz
inkscape-1120f847062f17b8256010f73a083dc76a4a4fcb.zip
Barcode extension: Code cleanup and merge in delta from last year.
(bzr r13386)
Diffstat (limited to 'share/extensions/Barcode/Code25i.py')
-rw-r--r--share/extensions/Barcode/Code25i.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/share/extensions/Barcode/Code25i.py b/share/extensions/Barcode/Code25i.py
index 518a306f2..51346be60 100644
--- a/share/extensions/Barcode/Code25i.py
+++ b/share/extensions/Barcode/Code25i.py
@@ -34,14 +34,13 @@ encoding = {
'7' : '00011',
'8' : '10010',
'9' : '01010',
-
}
# Start and stop code are already encoded into white (0) and black(1) bars
start_code = '1010'
stop_code = '1101'
-class Object(Barcode):
+class Code25i(Barcode):
# Convert a text into string binary of black and white markers
def encode(self, number):
self.label = number