We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fa4fe5 commit 644ef53Copy full SHA for 644ef53
1 file changed
scripts/force_create_revs.py
@@ -29,7 +29,7 @@ def main():
29
print('Refusing to run without --force or TIPPR_ALLOW_MUTATE=1')
30
sys.exit(2)
31
32
- root = args.root or os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
+ root = args.root or os.path.abspath(os.path.join(os.environ.get('TIPPR_SRC', '/home/tippr/src/tippr')))
33
34
system_user = Account._by_name(g.system_user)
35
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