We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6be3278 commit 71eaf04Copy full SHA for 71eaf04
happyMirror/__init__.py
@@ -3,7 +3,11 @@
3
import sys
4
5
from flask import Flask, render_template
6
-import config
+
7
+try:
8
+ import config
9
+except ImportError:
10
+ from . import config
11
12
13
def create_app(widgets=None, test_config=None):
happyMirror/widgets/quote/quote.py
@@ -6,8 +6,12 @@
from happyMirror.render import BaseRenderer, RenderResult
-import widget_secrets
-import widget_config
+ import widget_secrets
+ import widget_config
+ from . import widget_secrets
14
+ from . import widget_config
15
16
17
class Renderer(BaseRenderer):
0 commit comments