diff --git a/planet/__init__.py b/planet/__init__.py index ffa04f9..42f8bfc 100644 --- a/planet/__init__.py +++ b/planet/__init__.py @@ -91,7 +91,12 @@ def template_info(item, date_format): #set the locale so that the dates at the feeds will be in english lc=locale.getlocale() - if lc[0].find("tr") != -1: + if lc[0] == None: + try: + locale.setlocale(locale.LC_ALL, '') + except: + pass + elif lc[0].find("tr") != -1: try: locale.setlocale(locale.LC_ALL, '') except: diff --git a/www/foafroll.xml b/www/foafroll.xml index de980d8..f453616 100644 --- a/www/foafroll.xml +++ b/www/foafroll.xml @@ -107,7 +107,7 @@ Alper Orus - Mürekkep - İnternet Yaşam Rehberiniz » admin + Mürekkep - İnternet Yaşam Rehberiniz » Bilişim @@ -245,20 +245,19 @@ - - - Ceyhun Alyeşil - - - - - - - - - - + + Ceyhun Alyeşil + + + + + + + + + + Deniz Koçak