From 034507f14f0729b8685131b72c68e8746f3b5966 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Tue, 10 May 2022 22:45:08 +0200 Subject: [PATCH] Fixing Pip install problem - Update MANIFEST to include model/ subdir, improving imports (#593) --- MANIFEST.in | 1 + changedetectionio/__init__.py | 2 +- changedetectionio/store.py | 3 +-- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index aa5e9025..ee919940 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,5 +1,6 @@ recursive-include changedetectionio/templates * recursive-include changedetectionio/static * +recursive-include changedetectionio/model * include changedetection.py global-exclude *.pyc global-exclude node_modules diff --git a/changedetectionio/__init__.py b/changedetectionio/__init__.py index afbe9d40..2a97d7a9 100644 --- a/changedetectionio/__init__.py +++ b/changedetectionio/__init__.py @@ -40,7 +40,7 @@ from flask_wtf import CSRFProtect from changedetectionio import html_tools -__version__ = '0.39.13' +__version__ = '0.39.13.1' datastore = None diff --git a/changedetectionio/store.py b/changedetectionio/store.py index a8ff3568..5c41f8ca 100644 --- a/changedetectionio/store.py +++ b/changedetectionio/store.py @@ -13,8 +13,7 @@ from threading import Lock import re import requests -from changedetectionio.model import Watch, App - +from . model import App, Watch # Is there an existing library to ensure some data store (JSON etc) is in sync with CRUD methods? # Open a github issue if you know something :)