From fcdc1b5cf26e102fa3bc494fa29b074687e8b54c Mon Sep 17 00:00:00 2001 From: Federico Leva Date: Mon, 21 May 2018 11:44:35 +0300 Subject: [PATCH] Use os.listdir('.') --- launcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launcher.py b/launcher.py index 0139d89..8682e0f 100644 --- a/launcher.py +++ b/launcher.py @@ -45,7 +45,7 @@ def main(): #check if compressed, in that case dump was finished previously compressed = False - for f in os.listdir('/mnt/raccolto/wikia'): + for f in os.listdir('.'): if f.startswith(prefix) and f.endswith('.7z'): compressed = True zipfilename = f