Skip to content

Commit

Permalink
Merge pull request #2 from ericbirdsall/master
Browse files Browse the repository at this point in the history
defer load_settings until sublime api available
  • Loading branch information
jlukic authored May 2, 2018
2 parents 5510e09 + 84bff08 commit a573139
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion MeteorReval.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@
import urllib.request
import re

settings = None

settings = sublime.load_settings("MeteorReval.sublime-settings")
def plugin_loaded():
global settings
settings = sublime.load_settings("MeteorReval.sublime-settings")

class meteorReval(sublime_plugin.EventListener):
pending = 0
Expand Down

0 comments on commit a573139

Please sign in to comment.