forked from cmccabe/linkulator2
Merge branch 'release' into semioticformatic
This commit is contained in:
commit
784ca1e169
|
@ -75,7 +75,8 @@ def init():
|
|||
with defaults if any issues.
|
||||
"""
|
||||
|
||||
USER.datadir.mkdir(mode=0o755, exist_ok=True)
|
||||
if not USER.datadir.exists():
|
||||
USER.datadir.mkdir(mode=0o755, exist_ok=True)
|
||||
|
||||
if not is_readable(USER.datadir.stat().st_mode):
|
||||
print(
|
||||
|
@ -84,7 +85,8 @@ def init():
|
|||
)
|
||||
USER.datadir.chmod(0o755)
|
||||
|
||||
USER.datafile.touch(mode=0o644, exist_ok=True)
|
||||
if not USER.datafile.exists():
|
||||
USER.datafile.touch(mode=0o644, exist_ok=True)
|
||||
|
||||
if not is_readable(USER.datafile.stat().st_mode):
|
||||
print(
|
||||
|
|
Loading…
Reference in New Issue
Block a user