Commit 53746c73 authored by echel0n's avatar echel0n

Fixed name 'ModuleNotFoundError' is not defined error for older Python 3 versions

parent 5bd3790e
......@@ -118,10 +118,6 @@ release:build:master:
- bumpversion --allow-dirty release package.json sickrage/version.txt
- git checkout -b release-$(cat sickrage/version.txt)
- yarn run build
# - python setup.py extract_messages
# - crowdin-cli-py upload sources
# - crowdin-cli-py download
# - python setup.py compile_catalog
- git add --all
- git commit -m "[TASK] Releasing v$(cat sickrage/version.txt)"
- git fetch . release-$(cat sickrage/version.txt):master
......
......@@ -221,7 +221,7 @@ def main():
try:
try:
from sickrage.core import Core
except ModuleNotFoundError:
except ImportError:
print('Attempting to install SiCKRAGE missing requirements using pip')
subprocess.check_call([sys.executable, "-m", "pip", "install", "--no-cache-dir", "-r", REQS_FILE])
from sickrage.core import Core
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment