Commit 9487d9c4 authored by echel0n's avatar echel0n
Browse files

Fixed invalid reference to episode function airdateModifyStamp

parent 071b4eae
......@@ -1088,7 +1088,7 @@ class PostProcessor(object):
# set file modify stamp to show airdate
if sickrage.app.config.general.airdate_episodes:
for cur_ep in episode_objects:
cur_ep.airdateModifyStamp()
cur_ep.airdate_modify_stamp()
# generate nfo/tbn
root_episode_object.create_meta_files()
......
......@@ -35,6 +35,7 @@ import sickrage
from sickrage.core.caches import image_cache
from sickrage.core.common import dateFormat, dateTimeFormat, Overview, timeFormat, Quality, Qualities, EpisodeStatus
from sickrage.core.databases.main import MainDB
from sickrage.core.databases.main.schemas import TVEpisodeSchema
from sickrage.core.enums import ProcessMethod, SeriesProviderID
from sickrage.core.exceptions import EpisodeNotFoundException, CantRemoveShowException, CantRefreshShowException, CantUpdateShowException
from sickrage.core.helpers import backup_app_data, srdatetime, pretty_file_size, read_file_buffered, try_int, sanitize_file_name, chmod_as_parent, flatten, \
......@@ -705,7 +706,7 @@ class CMD_Episode(ApiCall):
try:
db_data = session.query(MainDB.TVEpisode).filter_by(series_id=self.series_id, season=self.s, episode=self.e).one()
episode_result = db_data.as_dict()
episode_result = TVEpisodeSchema().dump(db_data)
show_path = show_obj.location
......
Supports Markdown
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