user input

parent d34e5657
...@@ -44,6 +44,11 @@ def main(argv): ...@@ -44,6 +44,11 @@ def main(argv):
for f in matchingProducts: for f in matchingProducts:
print (f) print (f)
os.system("ln -s " + inDir+f + " " + outdir+f) os.system("ln -s " + inDir+f + " " + outdir+f)
text =""
while text != "yes" or text != "no":
input("Do you want to link this products to "+outdir)
print (str(len(matchingProducts)) + " Linked to " + outdir) print (str(len(matchingProducts)) + " Linked to " + outdir)
if __name__ == "__main__": if __name__ == "__main__":
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment