Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
S
sickrage
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
27
Issues
27
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
SiCKRAGE
sickrage
Commits
d615ca6c
Commit
d615ca6c
authored
Sep 09, 2020
by
echel0n
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed issue
#525
- removal of shows not taking due to database commit not being executed
parent
3bf4977c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
sickrage/core/tv/show/__init__.py
sickrage/core/tv/show/__init__.py
+1
-1
No files found.
sickrage/core/tv/show/__init__.py
View file @
d615ca6c
...
...
@@ -1046,7 +1046,7 @@ class TVShow(object):
session
.
query
(
MainDB
.
TVShow
).
filter_by
(
indexer_id
=
self
.
indexer_id
).
delete
()
session
.
query
(
MainDB
.
TVEpisode
).
filter_by
(
showid
=
self
.
indexer_id
).
delete
()
session
.
query
(
MainDB
.
IMDbInfo
).
filter_by
(
indexer_id
=
self
.
indexer_id
).
delete
()
se
lf
.
save
()
se
ssion
.
commit
()
# remove episodes from show episode cache
self
.
flush_episodes
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment