diff options
author | ttt | 2017-05-13 00:29:47 +0530 |
---|---|---|
committer | ttt | 2017-05-13 00:29:47 +0530 |
commit | abf599be33b383a6a5baf9493093b2126a622ac8 (patch) | |
tree | 4c5ab6e0d935d5e65fabcf0258e4a00dd20a5afa /arm.diff | |
download | SBHS-2018-Rpi-abf599be33b383a6a5baf9493093b2126a622ac8.tar.gz SBHS-2018-Rpi-abf599be33b383a6a5baf9493093b2126a622ac8.tar.bz2 SBHS-2018-Rpi-abf599be33b383a6a5baf9493093b2126a622ac8.zip |
added all server files
Diffstat (limited to 'arm.diff')
-rw-r--r-- | arm.diff | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arm.diff b/arm.diff new file mode 100644 index 0000000..868bec1 --- /dev/null +++ b/arm.diff @@ -0,0 +1,14 @@ +--- a/sbhs_server/pages/management/commands/zip_client.py ++++ b/sbhs_server/pages/management/commands/zip_client.py +@@ -33,6 +33,10 @@ class Command(BaseCommand): + run_file_dirpath = os.path.join(dirpath, "run_file") + + os.mkdir(tmp_dirpath) ++ for root, dirs, files in os.walk(dirpath): ++ for f in files: ++ shutil.copy(os.path.join(dirpath, f), os.path.join(tmp_dirpath, f)) ++ + distutils.dir_util.copy_tree(scilab_codes_dirpath, tmp_dirpath) + try: + shutil.rmtree(tmp_dirpath + "/" + scilab_codes_dirname + "/.git") + |