Skip to content

Commit

Permalink
Merge pull request #7 from JCleqiang/master
Browse files Browse the repository at this point in the history
兼容app名字中包含 "."
  • Loading branch information
xuezhulian authored Dec 3, 2020
2 parents cccfd45 + 5842bab commit 55578eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion classunrefs.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@

def verified_app_path(path):
if path.endswith('.app'):
appname = path.split('/')[-1].split('.')[0]
# appname = path.split('/')[-1].split('.')[0]
appname = os.path.splitext(path)[0].split('/')[-1]
path = os.path.join(path, appname)
if not os.path.isfile(path):
return None
Expand Down

0 comments on commit 55578eb

Please sign in to comment.