mirror of
https://github.com/SickGear/SickGear.git
synced 2025-03-15 09:07:43 +00:00
Merge pull request #399 from Prinz23/remove_unneeded_webserve_code
Remove old obsolete code, that could course an error
This commit is contained in:
commit
27d6eff633
1 changed files with 0 additions and 8 deletions
|
@ -3624,14 +3624,6 @@ class WebInterface:
|
||||||
sql_results[index]['localtime'] = network_timezones.parse_date_time(item['airdate'], item['airs'],
|
sql_results[index]['localtime'] = network_timezones.parse_date_time(item['airdate'], item['airs'],
|
||||||
item['network'])
|
item['network'])
|
||||||
|
|
||||||
#Normalize/Format the Airing Time
|
|
||||||
try:
|
|
||||||
locale.setlocale(locale.LC_TIME, 'us_US')
|
|
||||||
sql_results[index]['localtime_string'] = sql_results[index]['localtime'].strftime("%A %H:%M %p")
|
|
||||||
locale.setlocale(locale.LC_ALL, '') #Reseting to default locale
|
|
||||||
except:
|
|
||||||
sql_results[index]['localtime_string'] = sql_results[index]['localtime'].strftime("%A %H:%M %p")
|
|
||||||
|
|
||||||
sql_results.sort(sorts[sickbeard.COMING_EPS_SORT])
|
sql_results.sort(sorts[sickbeard.COMING_EPS_SORT])
|
||||||
|
|
||||||
t = PageTemplate(file="comingEpisodes.tmpl")
|
t = PageTemplate(file="comingEpisodes.tmpl")
|
||||||
|
|
Loading…
Reference in a new issue