Skip to content

Commit 5ecb335

Browse files
committed
record-permission. Stop re-using folder variable
1 parent 229eb12 commit 5ecb335

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

keepercommander/commands/register.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -1241,9 +1241,9 @@ def execute(self, params, **kwargs):
12411241
fols.add(folder.uid)
12421242
pos = 0
12431243
while pos < len(flat_subfolders):
1244-
folder = flat_subfolders[pos]
1245-
if folder.subfolders:
1246-
for f_uid in folder.subfolders:
1244+
subfolder = flat_subfolders[pos]
1245+
if subfolder.subfolders:
1246+
for f_uid in subfolder.subfolders:
12471247
if f_uid not in fols:
12481248
f = params.folder_cache[f_uid]
12491249
if f:

0 commit comments

Comments
 (0)