jafeha / parabird

Simple script written in python to build an os independent truecrypt encrypted usb-stick containing a portable thunderbird, enigmail, torbirdy and vidalia.
GNU General Public License v3.0
11 stars 7 forks source link

device switch and mounter #14

Closed jafeha closed 11 years ago

jafeha commented 11 years ago

I'd suggest an if clause opting out of the detect_stick() function. If there is a specific Device given, there is no need to trigger that function.

jafeha commented 11 years ago

We could also take this as a design decision and get rid ob the device parameter switch. I'd prefer to keep it and to opt out of the function in that case.

jafeha commented 11 years ago

i've made the design decision: i've put the detect_stick() function in an if else clause. the behavior is now: if you use the device flag, the given device is being used, if not, the device detection is being triggered.