summaryrefslogtreecommitdiff
path: root/quick-sort.py
diff options
context:
space:
mode:
Diffstat (limited to 'quick-sort.py')
-rwxr-xr-xquick-sort.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/quick-sort.py b/quick-sort.py
index 1f807dd..13ab061 100755
--- a/quick-sort.py
+++ b/quick-sort.py
@@ -38,6 +38,7 @@ def quickSort(data):
# running quicksort against the ingressed data
numdata = quickSort(numdata)
-# finishing up
+# finishing up and appending "-quicksorted" to CSV
+target = target[:-4]+"-quicksorted"+target[-4:]
print("Sort complete, writing to file!")
io.egressCSV(numdata,target)