mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 19:13:40 +02:00
IGN:...
This commit is contained in:
parent
a1725b4ee3
commit
802cca16ad
1 changed files with 2 additions and 0 deletions
|
|
@ -38,6 +38,8 @@ def make_config_dir():
|
|||
if not os.path.exists(plugin_dir):
|
||||
os.makedirs(plugin_dir, mode=448) # 0700 == 448
|
||||
|
||||
def check_config_write_access():
|
||||
return os.access(config_dir, os.W_OK) and os.access(config_dir, os.X_OK)
|
||||
|
||||
class CustomHelpFormatter(IndentedHelpFormatter):
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue