summaryrefslogtreecommitdiffstats
path: root/gallery_dl/path.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/path.py')
-rw-r--r--gallery_dl/path.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/gallery_dl/path.py b/gallery_dl/path.py
index eecbd6c..6381622 100644
--- a/gallery_dl/path.py
+++ b/gallery_dl/path.py
@@ -134,6 +134,9 @@ class PathFormat():
basedir = self.clean_path(basedir)
self.basedirectory = basedir
+ def __str__(self):
+ return self.realpath
+
def open(self, mode="wb"):
"""Open file and return a corresponding file object"""
try: