mirror of
https://github.com/Jylpah/blitz-tools.git
synced 2026-10-21 10:17:05 +02:00
Fixed weird error on (Windows)
This commit is contained in:
1 parent
a36079e9d3
commit
af3c46208e
2 files changed
+3
-3
No files matched your search
+2
-2
@@ -455,8 +455,8 @@ async def mkReplayQ(queue : asyncio.Queue, files : list):
|
||||
await queue.put(await mkReaderQitem(line))
|
||||
else:
|
||||
for fn in files:
|
||||
if fn.endswith(os.sep):
|
||||
fn = fn[:-1]
|
||||
if fn.endswith('"'):
|
||||
fn = fn[:-1]
|
||||
if os.path.isfile(fn) and (p_replayfile.match(fn) != None):
|
||||
await queue.put(await mkReaderQitem(fn))
|
||||
elif os.path.isdir(fn):
|
||||
|
||||
@@ -105,7 +105,7 @@ async def mkReplayQ(queue : asyncio.Queue, files : list, title : str):
|
||||
await queue.put(await mkQueueItem(line, title))
|
||||
else:
|
||||
for fn in files:
|
||||
if fn.endswith(os.sep):
|
||||
if fn.endswith('"'):
|
||||
fn = fn[:-1]
|
||||
if os.path.isfile(fn) and (p_replayfile.match(fn) != None):
|
||||
await queue.put(await mkQueueItem(fn, title))
|
||||
|
||||
Reference in new issue
Block a user