do not fail in windoz

This commit is contained in:
Nikos Kouremenos 2005-11-22 11:18:08 +00:00
parent db89101271
commit d8b732ad2a
1 changed files with 1 additions and 1 deletions

View File

@ -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: