jamiecaesar / securecrt-tools

SecureCRT scripts, written in Python, for doing various tasks when connected to Cisco equipment.
Apache License 2.0
246 stars 78 forks source link

Script Settings Custimization #24

Closed methridge closed 7 years ago

methridge commented 7 years ago

Resolved Issue #23 by trying to open user customized settings, if not found use the except IOError to open the defaults.

This does require SecureCRT 7.3.7 or better.

jamiecaesar commented 7 years ago

What about this change required 7.3.7? It didn't look like there was anything in there that hasn't been in Python for a good while.

methridge commented 7 years ago

Looks like this fix only works on the Mac. I'm guessing because of the real python environment there. I've tried it on a clean Windows VM and 7.1.3, 7.2.6, 7.3.7 and 8.0.3 don't work. Get a can't import script_settings. So must be something with the Windows implementation of Python. sigh

jamiecaesar commented 7 years ago

Can you try putting your changes into a different branch and doing a pull request that way. I think that will keep the master branch the same, but I can switch to this other branch and help test/troubleshoot.