mirror of https://github.com/zulip/zulip.git
scripts: Fix running compare-settings-to-template from any CWD.
This matches the number of dirname() calls for other files in its directory. Fixes #20489.
This commit is contained in:
parent
48dccfd37a
commit
73d503995a
|
@ -5,7 +5,7 @@ import os
|
||||||
import re
|
import re
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
BASE_DIR = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
||||||
sys.path.append(BASE_DIR)
|
sys.path.append(BASE_DIR)
|
||||||
from scripts.lib.setup_path import setup_path
|
from scripts.lib.setup_path import setup_path
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue