first round of makeing png/js/script/config overwrite more consistent

This commit is contained in:
j 2012-04-20 12:22:32 +02:00
commit e5da40a104
49 changed files with 860 additions and 67 deletions

View file

@ -18,4 +18,8 @@ except ImportError:
sys.exit(1)
if __name__ == "__main__":
if not os.path.exists(settings.SITE_CONFIG):
import sys
sys.stderr.write("Error: Can't find '%s'.\nBefore you run pan.do/ra you must create it\n" % settings.SITE_CONFIG)
sys.exit(1)
execute_manager(settings)