mirror of
https://github.com/moparisthebest/SickRage
synced 2024-11-17 06:45:05 -05: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
@ -3624,14 +3624,6 @@ class WebInterface:
|
||||
sql_results[index]['localtime'] = network_timezones.parse_date_time(item['airdate'], item['airs'],
|
||||
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])
|
||||
|
||||
t = PageTemplate(file="comingEpisodes.tmpl")
|
||||
|
Loading…
Reference in New Issue
Block a user