Solved
Found the solution using the strip command and all is working perfectly now.
strPrompt = currentdevice.strip() + "#"
This stripped off the carriage return from the 'currentdevice' variable and now everything is working perfectly.
Thanks again for the assistance!
|