diff options
-rw-r--r-- | data/url/example_config.py | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/data/url/example_config.py b/data/url/example_config.py index 3a9d368..2cfc302 100644 --- a/data/url/example_config.py +++ b/data/url/example_config.py @@ -21,9 +21,8 @@ # #
# --------------------------------------------------------------------------- #
-# Path to iSida-bot config file
-configname = '/home/user/isida/settings/config.py'
-execfile(configname)
+# Path to iSida-bot
+BOT_FOLDER = '/home/user/isida/%s'
# Maximal link and description size
max_link_size = 64
@@ -31,4 +30,10 @@ max_link_size = 64 # Url per page
url_count_limit = 100
+
+# Don't change it
+configname = BOT_FOLDER % 'settings/config.py'
+execfile(configname)
+if base_type == 'sqlite3': sqlite_base = BOT_FOLDER % sqlite_base
+
# The end is near!
|