Index: recipe_engine/config_types.py |
diff --git a/recipe_engine/config_types.py b/recipe_engine/config_types.py |
index b7a2705e77c25ed5750db2e76d8ee5e94c4cceed..87feebe6c31071d18e616d0b141b87f7ddc65b51 100644 |
--- a/recipe_engine/config_types.py |
+++ b/recipe_engine/config_types.py |
@@ -178,6 +178,8 @@ class Path(RecipeConfigType): |
return not self.base == other |
def join(self, *pieces, **kwargs): |
+ if not pieces and not kwargs: |
+ return self |
kwargs.setdefault('platform_ext', self.platform_ext) |
return Path(self.base, *filter(bool, self.pieces + pieces), **kwargs) |