From 9716a278f2f8b339b8963463f409184baa25426e Mon Sep 17 00:00:00 2001 From: Fred Warren Date: Wed, 28 Jun 2023 11:51:52 -0700 Subject: [PATCH] removed \Tank\ from filepath --- fileCsv2Json.py | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/fileCsv2Json.py b/fileCsv2Json.py index 0dba907..a3a7d22 100755 --- a/fileCsv2Json.py +++ b/fileCsv2Json.py @@ -4,22 +4,22 @@ import csv import json skip_list = [ - 'D:\Tank\Home', - 'D:\Tank\Shares\hr', - 'D:\Tank\Shares\payroll', - 'D:\Tank\Shares\cis' + 'D:\\home', + 'D:\\shares\\hr', + 'D:\\shares\\payroll', + 'D:\\shares\\cis' ] share_names = { - 'D:\Tank\Shares\\acad': ['acad', 'V:\\'], - 'D:\Tank\Shares\common': ['common', 'X:\\'], - 'D:\Tank\Shares\commercial': ['commercial', 'N:\\'], - 'D:\Tank\Shares\scans': ['scans', 'J:\\'], - 'D:\Tank\Shares\costing': ['costing', 'K:\\'], - 'D:\Tank\Shares\marketing': ['marketing', 'M:\\'], - 'D:\Tank\Shares\\almar': ['almar', 'O:\\'], - 'D:\Tank\Shares\production': ['production', 'P:\\'], - 'D:\Tank\Shares\\recreation': ['recreation', 'R:\\'], - 'D:\Tank\Shares\photos': ['photos', 'U:\\'], + 'D:\\shares\\acad': ['acad', 'V:\\'], + 'D:\\shares\\common': ['common', 'X:\\'], + 'D:\\shares\\commercial': ['commercial', 'N:\\'], + 'D:\\shares\\scans': ['scans', 'J:\\'], + 'D:\\shares\\costing': ['costing', 'K:\\'], + 'D:\\shares\\marketing': ['marketing', 'M:\\'], + 'D:\\shares\\almar': ['almar', 'O:\\'], + 'D:\\shares\\production': ['production', 'P:\\'], + 'D:\\shares\\recreation': ['recreation', 'R:\\'], + 'D:\\shares\\photos': ['photos', 'U:\\'], } f = open("/tmp/dhcp.csv")