vesta-web 1.1.5__py3-none-any.whl → 1.1.6__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
vesta/http/baseServer.py CHANGED
@@ -138,7 +138,13 @@ class BaseServer:
138
138
  if ext :
139
139
  name = name + "." + ext
140
140
 
141
- with open(prefix+name, 'wb') as f:
141
+ # Create subdirectories if they don't exist
142
+ full_path = prefix + name
143
+ directory = os.path.dirname(full_path)
144
+ if not os.path.exists(directory):
145
+ os.makedirs(directory, exist_ok=True)
146
+
147
+ with open(full_path, 'wb') as f:
142
148
  f.write(content)
143
149
  return name
144
150
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: vesta-web
3
- Version: 1.1.5
3
+ Version: 1.1.6
4
4
  Summary: An extensive web framework adding every feature needed for Carbonlab
5
5
  Project-URL: Homepage, https://gitlab.com/Louciole/vesta
6
6
  Project-URL: Issues, https://gitlab.com/Louciole/vesta/-/issues
@@ -45,7 +45,7 @@ vesta/emptyProject/static/translations/fr.mjs,sha256=ouMluPVTgB4Q5vmb7zGE6YGTH4U
45
45
  vesta/emptyProject/static/translations/translation.mjs,sha256=JxJ2peSlYVQK-bUKpfddPLXm0XZiz2yu6A6iWIqpKyM,1422
46
46
  vesta/emptyProject/static/ws/onMessage.mjs,sha256=ow5nwSEdiBcvm-Y2zOUMhnqLp-5xWgo11kHviaTRlTw,658
47
47
  vesta/emptyProject/tests/example/foo.py,sha256=NS9oIXFBOvIyWK1LHwkJm9amJuSMN4cxJwouBrJlh2I,115
48
- vesta/http/baseServer.py,sha256=To64gSOIvpgEeMz5shQnqzexgVVgJcGOBsEbGA_IN8c,14785
48
+ vesta/http/baseServer.py,sha256=IpWjPAKiB4yIybKFKYy4MaFWyC1cV682huv7emLHlpU,15009
49
49
  vesta/http/error.py,sha256=fWdp-oI2ObJD2mHHuxs1yVJvhON5oHYgYFRLAcUMs-I,180
50
50
  vesta/http/redirect.py,sha256=OiDeOmU-X5Mos8a0BQIeOIJqvgWjDEtaYrM4-x4MXl0,177
51
51
  vesta/http/response.py,sha256=G7cmbrXFNbIbQoqNxNkR06I5VymIwjFSAe3LtVa56Ok,3760
@@ -55,8 +55,8 @@ vesta/scripts/initDB.py,sha256=TKaK4RZM6CycBEsHeGb9Q9PdphkQgaJDnEWhvRnGC9k,1659
55
55
  vesta/scripts/install.py,sha256=GvH_HHx5aU5_54RQ1_2vz4DaLCh42AHfUKy-m0q21vY,2125
56
56
  vesta/scripts/testsRun.py,sha256=bXJImdexKQUDW8CR8F9VIKTrgkd7QfnvHQPENEV4x38,2463
57
57
  vesta/scripts/utils.py,sha256=PR2XPonaoZEbegzV3QX1EHfyq67sU-cbDEUexCuJp9Q,6013
58
- vesta_web-1.1.5.dist-info/METADATA,sha256=FITHu0FmVWzp5CLDqXmzPgnQA02nUQ5twObyHu39m8w,1584
59
- vesta_web-1.1.5.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
60
- vesta_web-1.1.5.dist-info/entry_points.txt,sha256=MHMrWJwtkb4FmNz0CTpxZzwQ3LTqndXBh8YBPDfXlW4,49
61
- vesta_web-1.1.5.dist-info/licenses/LICENSE.md,sha256=zoPFEFUUoSgosmDBK5fGTWGRHHBaSVuuJT2ZQIYXuIk,177
62
- vesta_web-1.1.5.dist-info/RECORD,,
58
+ vesta_web-1.1.6.dist-info/METADATA,sha256=2lREXAMLlRrVihlOucHfZ-KqNlFvY_8kLKM2SzjnnkE,1584
59
+ vesta_web-1.1.6.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
60
+ vesta_web-1.1.6.dist-info/entry_points.txt,sha256=MHMrWJwtkb4FmNz0CTpxZzwQ3LTqndXBh8YBPDfXlW4,49
61
+ vesta_web-1.1.6.dist-info/licenses/LICENSE.md,sha256=zoPFEFUUoSgosmDBK5fGTWGRHHBaSVuuJT2ZQIYXuIk,177
62
+ vesta_web-1.1.6.dist-info/RECORD,,