summaryrefslogtreecommitdiffstats
path: root/core/fileAbstraction.py
diff options
context:
space:
mode:
authorSam Wenham <sam@wenhams.co.uk>2019-02-23 15:30:58 +0000
committerSam Wenham <sam@wenhams.co.uk>2019-02-23 15:30:58 +0000
commit7f92a7280d94e4bf4dfa5507e35ad9ea540bd7bc (patch)
tree5f9f1791ea31f765974087ae879f248f3a3c18be /core/fileAbstraction.py
parent019f8c055009933176735306c0693987d0353891 (diff)
downloadtroggle-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.py2
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):