This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# Quick and dirty implementation of mounting a local volume using Gio. | |
# For people who were scratching their heads like me. | |
# Code below based on infos from: | |
# http://stackoverflow.com/questions/5709454/gio-check-if-volume-is-mounted | |
# http://stackoverflow.com/questions/1991206/accessing-samba-shares-with-gio-in-python/2051628#2051628 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- return true; | |
+ return $response ? true : true; |
NewerOlder