Skip to content

Commit 343e386

Browse files
authored
Fix uninitialized admin config writability flag
1 parent 44a6cda commit 343e386

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dev/pyRevitLabs/pyRevitLabs.PyRevit/PyRevitConfigs.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public static PyRevitConfig GetConfigFile()
5959
{
6060
if (CommonUtils.VerifyFile(adminConfig))
6161
{
62-
bool isWritable;
62+
bool isWritable = true;
6363
try
6464
{
6565
// Probe write access to detect ACL-protected files that are not marked with the ReadOnly attribute.

0 commit comments

Comments
 (0)