silly syntax error
This commit is contained in:
parent
27196af882
commit
85941e89b1
|
@ -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…
Reference in New Issue
Block a user