diff --git a/rmskin_builder.py b/rmskin_builder.py index 4fdf621..fa54bf2 100644 --- a/rmskin_builder.py +++ b/rmskin_builder.py @@ -318,8 +318,7 @@ def main(): args = parser.parse_args() root_path = args.path # truncate trailing path seperator - if root_path.endswith(os.sep): - root_path = root_path[:-1] + root_path = root_path.rstrip(os.sep) root_path = os.path.abspath(root_path) # The temporary build dir for storing altered files