Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

check path exists, stop crons complaining

  • Loading branch information...
commit 358264b1a7ed145c743a210689e8df5d5c6bdd00 1 parent 2a6805d
@andymckay andymckay authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  manage.py
View
2  manage.py
@@ -23,7 +23,7 @@
from django.conf import settings
newrelic_ini = getattr(settings, 'NEWRELIC_INI', None)
-if newrelic_ini:
+if newrelic_ini and os.path.exists(newrelic_ini):
import newrelic.agent
try:
newrelic.agent.initialize(newrelic_ini)
Please sign in to comment.
Something went wrong with that request. Please try again.