Skip to content

Commit 4871303

Browse files
committed
Fix bug when vault was cloned into empty directory
1 parent 3a0afbb commit 4871303

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

syncrypt/models/vault.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ def from_package_info(package_info, local_directory, auth_token=None):
235235
try:
236236
os.makedirs(local_directory)
237237
except FileExistsError:
238-
self.logger.debug("Directory exists, checking if empty")
238+
logger.debug("Directory exists, checking if empty")
239239
entities = os.listdir(local_directory)
240240
for entity in entities:
241241
entity_path = os.path.join(local_directory, entity)

0 commit comments

Comments
 (0)