Skip to content

Commit

Permalink
fixes bugs metasmile#25 and metasmile#24
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalii-tym committed Sep 19, 2018
1 parent ed178d8 commit 1928eb4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions strsync/strsync.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -329,8 +329,8 @@ def resolve_file_names(target_file_names):
# Init with Base.lproj
for dir, subdirs, files in walked:
if os.path.basename(dir) == __BASE_RESOUCE_DIR__:
for _file in resolve_file_names(files):
f = os.path.join(dir, _file)
for _file in resolve_file_names(files):
f = os.path.join(dir, _file)
if notexist_or_empty_file(f):
continue

Expand All @@ -339,7 +339,6 @@ def resolve_file_names(target_file_names):
continue

base_dict[_file] = parsed_obj
break

if not base_dict:
print('[!] Not found "{0}" in target path "{1}"'.format(__BASE_RESOUCE_DIR__, __RESOURCE_PATH__))
Expand Down

0 comments on commit 1928eb4

Please sign in to comment.