fixes #2624
Merge pull request #2647 from digi604/fix-2624

fixes #2624 (circular imports on wsgi)