OSDN Git Service

remove master from title
authoryamat0jp <yamat0jp@yahoo.co.jp>
Sat, 2 Sep 2017 05:12:12 +0000 (14:12 +0900)
committeryamat0jp <yamat0jp@yahoo.co.jp>
Sat, 2 Sep 2017 05:12:12 +0000 (14:12 +0900)
index.py

index ea8e255..a550284 100755 (executable)
--- a/index.py
+++ b/index.py
@@ -124,6 +124,8 @@ class TitleHandler(NaviHandler):
     def title(self):
         names = self.application.db.tables()
         names.remove('_default')
+        if 'master' in names:
+            names.remove('master')
         for x in names:
             item = {}
             item['name'] = x