fix import
This commit is contained in:
@ -2,6 +2,11 @@ import os
|
||||
import sys
|
||||
import sublime
|
||||
|
||||
# Add the package archive path itself to sys.path
|
||||
package_path = os.path.dirname(__file__)
|
||||
if package_path not in sys.path:
|
||||
sys.path.insert(0, package_path)
|
||||
|
||||
# --- Add lib to sys.path ---
|
||||
# Get the directory containing this file (MarkdownLivePreview.py)
|
||||
plugin_dir = os.path.dirname(__file__)
|
||||
|
||||
Reference in New Issue
Block a user