From 447d2679188b23776b5b9b820af230bd6d82d9d8 Mon Sep 17 00:00:00 2001 From: shrlnm Date: Tue, 22 Oct 2019 09:45:25 +0300 Subject: [PATCH] 9q fix#5 --- pyren/convert_db.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyren/convert_db.py b/pyren/convert_db.py index 7134e7e..93a3fb4 100755 --- a/pyren/convert_db.py +++ b/pyren/convert_db.py @@ -67,6 +67,8 @@ if __name__ == "__main__": for vf in locationsfiles: print "Processing file ", vf try: + while len(vf) and vf[0] in ['.', '/', '\\']: + vf = vf[1:] optf = optfile (vf) except: print "Skipping file ", vf