Skip to content

Commit

Permalink
defer load_settings until sublime api available
Browse files Browse the repository at this point in the history
  • Loading branch information
ericbirdsall committed May 2, 2018
1 parent a43d5ec commit 84bff08
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 84bff08

Please sign in to comment.