diff options
-rw-r--r-- | wqflask/utility/tools.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/utility/tools.py b/wqflask/utility/tools.py index 4c331f8a..3dc01b91 100644 --- a/wqflask/utility/tools.py +++ b/wqflask/utility/tools.py @@ -158,7 +158,7 @@ def assert_dir(the_dir): def assert_writable_dir(dir): try: - fn = dir + "/test.txt" + fn = os.path.join(dir, "test.txt") fh = open(fn, 'w') fh.write("I am writing this text to the file\n") fh.close() |