Browse Source

silly syntax error

master
sanj 14 years ago
parent
commit
85941e89b1
  1. 3
      index/harddrives/importFromTxtFiles.py

3
index/harddrives/importFromTxtFiles.py

@ -16,7 +16,8 @@ def addHardDrive(filename, path):
filePath = join(path, filename)
hdName = filename.replace(".txt", "")
file = open(filePath)
if hd = hardDriveExists(hdName):
if hardDriveExists(hdName):
hd = hardDriveExists(hdName)
hd.remove_files()
else:
hd = HardDrive(name = hdName)

Loading…
Cancel
Save