Skip to content

Commit

Permalink
replace open method
Browse files Browse the repository at this point in the history
  • Loading branch information
Metrakit committed Apr 1, 2016
1 parent 828a8bd commit ff11ef4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions MalouCommand.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ def run(self, edit, nb=1):

nb=nb-1

package_path = dirname(realpath(__file__))
package_path = "Packages/EddyMalouLoremIpsum"
file = package_path + "/dictionary.json"
with open(file, 'r', encoding='utf8') as data_file:
self.dictionary = json.load(data_file)
content = sublime.load_resource(file)
self.dictionary = json.loads(content)

selects = self.view.sel()
for select in selects:
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# EddyMalou Lorem Ipsum for [Sublime Text](http://www.sublimetext.com)
# EddyMalou Lorem Ipsum for [Sublime Text 3](http://www.sublimetext.com)

You are bored to use the traditional "Lorem Ipsum" for your dummy texts ? Okey, EddyMalou Lorem Ipsum is there for help you.

Expand Down

0 comments on commit ff11ef4

Please sign in to comment.