diff options
author | Alexander Tkachev | 2016-07-06 16:48:56 +0600 |
---|---|---|
committer | Alexander Tkachev | 2016-08-24 16:07:55 +0600 |
commit | 48e3fff6bcea94da5bd46ee2def17eb6bdca716c (patch) | |
tree | 959135f29269c36b3b4c413716e9ab6ebcedc659 /backends/networking/make_archive.py | |
parent | 627bda9d82c178641e5b5253379c21ce556eb3c2 (diff) | |
download | scummvm-rg350-48e3fff6bcea94da5bd46ee2def17eb6bdca716c.tar.gz scummvm-rg350-48e3fff6bcea94da5bd46ee2def17eb6bdca716c.tar.bz2 scummvm-rg350-48e3fff6bcea94da5bd46ee2def17eb6bdca716c.zip |
CLOUD: Refactor LocalWebserver
Its handlers are now more compact. This commit moves Handler classes in
handlers\ directory.
ResourceHandler ignores "hidden" files in the archive, and these are
used as markup templates in IndexPageHandler and FilesPageHandler.
Diffstat (limited to 'backends/networking/make_archive.py')
-rw-r--r-- | backends/networking/make_archive.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/networking/make_archive.py b/backends/networking/make_archive.py index 72d3b01d80..a55a4bd6e6 100644 --- a/backends/networking/make_archive.py +++ b/backends/networking/make_archive.py @@ -20,7 +20,7 @@ def buildArchive(archiveName): filenames = os.listdir('.') filenames.sort() for filename in filenames: - if os.path.isfile(filename) and not filename[0] == '.' and filename.endswith(ARCHIVE_FILE_EXTENSIONS): + if os.path.isfile(filename) and filename.endswith(ARCHIVE_FILE_EXTENSIONS): zf.write(filename, './' + filename) print (" Adding file: " + filename) |