1. illume
  2. newsletter


illume  committed eda3973

fix import error recovery in newsletterapp

  • Participants
  • Parent commits 2d125f8
  • Branches default

Comments (0)

Files changed (2)

File newsletter/newsletterapp/newsletterapp.py

View file
 import sys
     from .base import NewsletterSend, Newsletter
-except ValueError:
+except ImportError:
     # a hack to put the newsletter package in the path.
     sys.path.append(os.path.join("..", ".."))
     from newsletter.base import NewsletterSend, Newsletter

File setup.py

View file
+    'scripts': ['scripts/newsletterapp'],