Skip to content

Commit 7b9f2cd

Browse files
Update guipull.py
1 parent 3068b47 commit 7b9f2cd

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

guipull.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,10 @@ def changeDirectory(r_path):
4949
os.chdir(abs_path)
5050
ack = 0
5151
except Exception as details:
52-
print('problem to get to the path '+r_path+' (0001) : ' + str(details))
52+
print('[%] Problem to get to the path '+r_path+' (0001) : ' + str(details))
5353
return ack
5454

55-
print(f"[@] Working with configurations:\n- Executing directories: {directories}\n- Excluding: {exclude}\n- Command: {command}\n")
56-
print("[!] Operation started\n")
55+
print(f"[@] Working with configurations:\n- Executing directories: {directories}\n- Excluding: {exclude}\n- Command: {command}\n\n[!] Operation started\n")
5756

5857
for directory in directories:
5958
for root, dirs, files in os.walk(directory, topdown=True):
@@ -65,7 +64,7 @@ def changeDirectory(r_path):
6564

6665
dirs[:] = [d for d in dirs if d not in ['.git']]
6766

68-
print("[+] Operation successfully completed")
67+
print("[+] Operation successfully completed\n")
6968

7069

7170
def main():
@@ -77,11 +76,11 @@ def main():
7776

7877
command = values[0]
7978
directories = values[1].split()
80-
exclude = values[2]
79+
exclude = values[2].split()
8180
recursivePull(directories, exclude, command)
8281

8382
window.close()
8483

8584

8685
if __name__ == '__main__':
87-
main()
86+
main()

0 commit comments

Comments
 (0)