Commit 9e02fd13 authored by Martijn Braam's avatar Martijn Braam

Fixed dark argument for freeze.py

parent 4d6c7ceb
......@@ -30,7 +30,7 @@ def wiki_redirect():
if __name__ == '__main__':
import argparse
parser = argparse.ArgumentParser()
parser.add_argument('--dark', help='Render dark version of the website')
parser.add_argument('--dark', help='Render dark version of the website', action='store_true')
args = parser.parse_args()
if args.dark:
app.config['DARK'] = True
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment