Skip to content

Commit 8d6f46f

Browse files
committed
changing root folder for the repo
1 parent c467d14 commit 8d6f46f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: siteversion.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@ def get_rel_branch_names(blist):
4646

4747
def main():
4848
# Detect repo root folder
49-
here = os.path.dirname(os.path.realpath(__file__))
50-
repo_dir = os.path.join(here, "..", "..")
49+
repo_dir = os.path.dirname(os.path.realpath(__file__))
5150

5251
# Get current repo
5352
repo = Repo(repo_dir)

0 commit comments

Comments
 (0)