Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion django_plotly_dash/dash_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,10 @@ def __init__(self, name=None, serve_locally=None,
# Remember some caller info for static files
caller_frame = inspect.stack()[1]
self.caller_module = inspect.getmodule(caller_frame[0])
self.caller_module_location = inspect.getfile(self.caller_module)
try:
self.caller_module_location = inspect.getfile(self.caller_module)
except:
self.caller_module_location = None
self.assets_folder = "assets"

def get_asset_static_url(self, asset_path):
Expand Down
2 changes: 1 addition & 1 deletion django_plotly_dash/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@

'''

__version__ = "1.1.4"
__version__ = "1.1.5"