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

Update ciscolib - WriteOutput function to accept writemode varible. … #18

Closed methridge closed 8 years ago

methridge commented 8 years ago

…This will allow the function to define the file open as write or append.

I've done some testing with all the existing scripts and haven't seen any issues. The optional "writemode" variable has a default of the original 'wb' mode.