diff options
Diffstat (limited to 'pathod/language')
-rw-r--r-- | pathod/language/generators.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pathod/language/generators.py b/pathod/language/generators.py index 1961df74..70c6ad16 100644 --- a/pathod/language/generators.py +++ b/pathod/language/generators.py @@ -75,7 +75,7 @@ class RandomGenerator: class FileGenerator: def __init__(self, path): - self.path = path + self.path = os.path.expanduser(path) def __len__(self): return os.path.getsize(self.path) |