silly syntax error

This commit is contained in:
sanj 2010-12-31 21:21:30 +05:30
parent 27196af882
commit 85941e89b1

View File

@ -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)