Fix package name string in reload plugin command
@@ -3,11 +3,13 @@ import sublime_plugin
from ..libraries.progress_bar import ProgressBar
from ..libraries.reloader import reload_package
+from ..libraries.paths import getPluginName
+NAME = getPluginName()
class DeviotReloadCommand(sublime_plugin.WindowCommand):
- def run(self, pkg_name='Deviot'):
+ def run(self, pkg_name=NAME):
sublime.set_timeout_async(lambda: self.run_async(pkg_name))
def run_async(self, pkg_name=None):
