Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Daphron/rsstory
Browse files Browse the repository at this point in the history
  • Loading branch information
malnoxon committed Aug 23, 2015
2 parents fae664b + 4d1a44a commit dc92812
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rsstory/periodic.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def setup_cron(fpath, time_between):
def update_feed(fpath):
rss_items, url, title = pickle.load(open(fpath, "rb"))
page_num = re.findall(r'\d+', fpath)[-1]
write_rss(rss_items, url, page_num=page_num, title=title)
write_rss(rss_items, url, archive_id=page_num, title=title)

if __name__ == "__main__":
update_feed(sys.argv[1])

0 comments on commit dc92812

Please sign in to comment.