summaryrefslogtreecommitdiffstats
path: root/share/extensions/Barcode/Code25i.py
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2014-11-23 23:36:49 +0000
committerJabiertxof <jtx@jtx.marker.es>2014-11-23 23:36:49 +0000
commit0969085ddf607a7a98cf7fd6d9b10da5fbebe62d (patch)
tree59b2bc9ed3412ab2de4c703ef30342dfe2401704 /share/extensions/Barcode/Code25i.py
parentrefactor from lastApplied (diff)
parentFixed a bug pointed by suv running from comand line, also removed another des... (diff)
downloadinkscape-0969085ddf607a7a98cf7fd6d9b10da5fbebe62d.tar.gz
inkscape-0969085ddf607a7a98cf7fd6d9b10da5fbebe62d.zip
fixing to trunk
(bzr r12588.1.34)
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