drawing: rename the stroke from 'l' to 's'

Leftover copy/paste error from when this class had a Layer subclass
pull/94/head
Peter Hutterer 2018-02-16 12:38:56 +10:00
parent 9fbfe17e13
commit 09bfe44dd7
1 changed files with 3 additions and 3 deletions

View File

@ -100,10 +100,10 @@ class Drawing(GObject.Object):
'''
Create a new stroke and make it the current stroke
'''
l = Stroke(self)
self.strokes.append(l)
s = Stroke(self)
self.strokes.append(s)
self._current_stroke += 1
return l
return s
def to_json(self):
json_data = {