Skip to content

Commit

Permalink
Fix bug when vault was cloned into empty directory
Browse files Browse the repository at this point in the history
  • Loading branch information
lordi committed Oct 5, 2017
1 parent 3a0afbb commit 4871303
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syncrypt/models/vault.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def from_package_info(package_info, local_directory, auth_token=None):
try:
os.makedirs(local_directory)
except FileExistsError:
self.logger.debug("Directory exists, checking if empty")
logger.debug("Directory exists, checking if empty")
entities = os.listdir(local_directory)
for entity in entities:
entity_path = os.path.join(local_directory, entity)
Expand Down

0 comments on commit 4871303

Please sign in to comment.