mirror of
https://github.com/SickGear/SickGear.git
synced 2025-03-15 09:07:43 +00:00
Merge pull request #994 from JackDandy/feature/ChangeCheetahVersionCheck
Change allow Cheetah template engine version 2 and newer.
This commit is contained in:
commit
e43f2a6a7b
2 changed files with 2 additions and 1 deletions
|
@ -111,6 +111,7 @@
|
||||||
* Add shows that have no replacement ID can be ignored at "Manage/Show Processes", the menu bar warn icon hides if all are ignored
|
* Add shows that have no replacement ID can be ignored at "Manage/Show Processes", the menu bar warn icon hides if all are ignored
|
||||||
* Change FreeBSD initscript to use command_interpreter
|
* Change FreeBSD initscript to use command_interpreter
|
||||||
* Add Slack notifier
|
* Add Slack notifier
|
||||||
|
* Change allow Cheetah template engine version 2 and newer
|
||||||
|
|
||||||
|
|
||||||
[develop changelog]
|
[develop changelog]
|
||||||
|
|
|
@ -50,7 +50,7 @@ except (StandardError, Exception):
|
||||||
try:
|
try:
|
||||||
import Cheetah
|
import Cheetah
|
||||||
|
|
||||||
if Cheetah.Version[0] != '2':
|
if Cheetah.Version[0] < '2':
|
||||||
raise ValueError
|
raise ValueError
|
||||||
except ValueError:
|
except ValueError:
|
||||||
print('Sorry, requires Python module Cheetah 2.1.0 or newer.')
|
print('Sorry, requires Python module Cheetah 2.1.0 or newer.')
|
||||||
|
|
Loading…
Reference in a new issue