From d8b732ad2afe7ebc2da5a7d1a400b70e6ad22104 Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Tue, 22 Nov 2005 11:18:08 +0000 Subject: [PATCH] do not fail in windoz --- scripts/migrate_logs_to_dot9_db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/migrate_logs_to_dot9_db.py b/scripts/migrate_logs_to_dot9_db.py index 7977bd7eb..f16b09400 100755 --- a/scripts/migrate_logs_to_dot9_db.py +++ b/scripts/migrate_logs_to_dot9_db.py @@ -54,7 +54,7 @@ def from_one_line(msg): def get_jid(dirname, filename): # TABLE NAME will be JID if TC-related, room_jid if GC-related, # ROOM_JID/nick if pm-related - if dirname.endswith('logs'): # basename(gajim.LOGPATH) + if dirname.endswith('logs') or dirname.endswith('Logs'): # we have file (not dir) in logs base dir, so it's TC jid = filename # file is JID else: