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