We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ac61b8 commit e5b3400Copy full SHA for e5b3400
autoprot/r_helper.py
@@ -102,7 +102,7 @@ def check_r_install():
102
103
if not os.path.isfile(os.path.join(base_path, "autoprot.conf")):
104
# check if you have write permissions
105
- if not os.access(os.path.join(base_path, "autoprot.conf")):
+ if not os.access(os.path.join(base_path, "autoprot.conf"), os.W_OK):
106
raise OSError(
107
f"Could not create autoprot.conf file at {os.path.join(base_path, 'autoprot.conf')}. "
108
f"Please create a file with the following content and place at this dir:"
0 commit comments