Skip to content

Commit

Permalink
create surf proj returnt, and removed _ as invalid char
Browse files Browse the repository at this point in the history
  • Loading branch information
ezequielmastrasso committed Mar 27, 2020
1 parent 38fabd0 commit f0340f3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion python/ldtmaya/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ def create_surfacing_object(project, name=None):
)
project.add(surfacing_set)

return surfacing_set


def get_surfacing_root():
"""
Expand Down Expand Up @@ -399,7 +401,8 @@ def remove_invalid_characters():
like '_'."""
project_root = get_surfacing_root()
surfacing_projects = get_surfacing_projects()
invalid_character = '_'
#invalid_character = '_'
invalid_character = '*'
for project in surfacing_projects:
if invalid_character in project.name():
project.rename(project.name().replace(invalid_character, ''))
Expand Down

0 comments on commit f0340f3

Please sign in to comment.