undo stupidity

This commit is contained in:
panni
2016-11-27 01:44:24 +01:00
parent e5f4c64546
commit 7b196bc4f7
+2 -2
View File
@@ -649,8 +649,8 @@ def RefreshItem(rating_key=None, came_from="/recent", item_title=None, force=Fal
header = " "
if trigger:
set_refresh_menu_state(u"Triggering %sRefresh for %s" % ("Force-" if force else "", item_title))
#Thread.Create(refresh_item, rating_key=rating_key, force=force, refresh_kind=refresh_kind,
# parent_rating_key=previous_rating_key, timeout=int(timeout))
Thread.Create(refresh_item, rating_key=rating_key, force=force, refresh_kind=refresh_kind,
parent_rating_key=previous_rating_key, timeout=int(timeout))
header = u"%s of item %s triggered" % ("Refresh" if not force else "Forced-refresh", rating_key)
return fatality(randomize=timestamp(), header=header, replace_parent=True)