The 'str' object never has attribute decode in Python3, so remove the dead code.

This commit is contained in:
Cyril Jouve
2020-08-12 18:55:35 +05:30
committed by Akshay Joshi
parent 26506a9727
commit 36574b25b6
9 changed files with 20 additions and 148 deletions
-3
View File
@@ -24,9 +24,6 @@ class AboutModule(PgAdminModule):
def get_own_menuitems(self):
appname = config.APP_NAME
if hasattr(str, 'decode'):
appname = appname.decode('utf-8')
return {
'help_items': [
MenuItem(