Skip to content

Commit

Permalink
List optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
JOUFFROY Jordane committed Mar 18, 2016
1 parent 135ad08 commit 70072f2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion MalouCommand.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class MalouCommand(sublime_plugin.TextCommand):
"malou-md": 3,
"malou-lg": 4,
}
sizes_list = ["malou-xs", "malou-sm", "malou-md", "malou-lg"]
sizes_list = []

def makeParagraph(self, size):

Expand All @@ -34,6 +34,9 @@ def makeParagraph(self, size):

def run(self, edit, nb=1):

for i in self.sizes_json:
self.sizes_list.append(i)

nb=nb-1

package_path = dirname(realpath(__file__))
Expand Down

0 comments on commit 70072f2

Please sign in to comment.