You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
prolefeeder/config.py.example

8 lines
275 B
Plaintext

import os
import subprocess
class Config:
SECRET_KEY = os.environ.get('SECRET_KEY') or subprocess.check_output(['pwgen', '20', '1'])
DATA_DIR = os.environ.get('DATA_DIR') or '/home/orange/devel/prolefeeder/tmp'
MAX_LENGTH = os.environ.get('MAX_LENGTH') or 180