Permalink
Browse files

output <engines /> when no db under tables dir

  • Loading branch information...
1 parent 24852ab commit 96722e02aafcf096f71dacdbbb3e9970edc91626 @acevery acevery committed Oct 14, 2009
Showing with 3 additions and 3 deletions.
  1. +1 −1 configure.ac
  2. +2 −2 engine/main.py
View
@@ -1,5 +1,5 @@
# Process this file with autoconf to produce a configure script.
-# vim:set et ts=4
+# vim:set et ts=4:
#
# ibus-table - The Tables engine for IBus
#
View
@@ -159,8 +159,8 @@ def main():
# Elements
dbs = os.listdir(db_dir)
dbs = filter (lambda x: x.endswith('.db'), dbs)
- if not dbs:
- return
+ #if not dbs:
+ # return
egs = Element('engines')
for _db in dbs:

0 comments on commit 96722e0

Please sign in to comment.