diff options
author | Sam Wenham <sam@wenhams.co.uk> | 2019-02-23 15:30:58 +0000 |
---|---|---|
committer | Sam Wenham <sam@wenhams.co.uk> | 2019-02-23 15:30:58 +0000 |
commit | 7f92a7280d94e4bf4dfa5507e35ad9ea540bd7bc (patch) | |
tree | 5f9f1791ea31f765974087ae879f248f3a3c18be /core/fileAbstraction.py | |
parent | 019f8c055009933176735306c0693987d0353891 (diff) | |
download | troggle-7f92a7280d94e4bf4dfa5507e35ad9ea540bd7bc.tar.gz troggle-7f92a7280d94e4bf4dfa5507e35ad9ea540bd7bc.tar.bz2 troggle-7f92a7280d94e4bf4dfa5507e35ad9ea540bd7bc.zip |
Prevent troggle adding the menu if there is one in the file
Add a Docker compose file to bring up a dev troggle easily
Various PEP improvments
Diffstat (limited to 'core/fileAbstraction.py')
-rw-r--r-- | core/fileAbstraction.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fileAbstraction.py b/core/fileAbstraction.py index 94b8b0c..86191b7 100644 --- a/core/fileAbstraction.py +++ b/core/fileAbstraction.py @@ -26,7 +26,7 @@ def listdir(*path): else: c = "" c = c.replace("#", "%23") - print "FILE: ", settings.FILES + "listdir/" + c + print("FILE: ", settings.FILES + "listdir/" + c) return urllib.urlopen(settings.FILES + "listdir/" + c).read() def dirsAsList(*path): |