Skip to content

Commit 644ef53

Browse files
committed
Update force_create_revs.py
1 parent 5fa4fe5 commit 644ef53

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/force_create_revs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def main():
2929
print('Refusing to run without --force or TIPPR_ALLOW_MUTATE=1')
3030
sys.exit(2)
3131

32-
root = args.root or os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
32+
root = args.root or os.path.abspath(os.path.join(os.environ.get('TIPPR_SRC', '/home/tippr/src/tippr')))
3333

3434
system_user = Account._by_name(g.system_user)
3535
policies = [g.wiki_page_user_agreement, g.wiki_page_privacy_policy, g.wiki_page_content_policy, getattr(g, 'wiki_page_moderator_guidelines', 'moderatorguidelines')]

0 commit comments

Comments
 (0)