Changeset 55c97c in indico


Ignore:
Timestamp:
03/28/11 16:32:29 (2 years ago)
Author:
Jose Benito <jose.benito.gonzalez@…>
Branches:
master, burotel, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.98b1, v0.98b2, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, d9941f8582b36b24821a11ea5ba16fda6a457fb1
Children:
75eb781
Parents:
4ac79f9
git-author:
Adrian Moennich <jerome.ernst.monnich@…> (02/24/11 14:44:28)
git-committer:
Jose Benito <jose.benito.gonzalez@…> (03/28/11 16:32:29)
Message:

[FIX] Fix editing rooms without uploading an image

File:
1 edited

Legend:

Unmodified
Added
Removed
  • indico/MaKaC/webinterface/rh/roomBooking.py

    r927da8 r55c97c  
    15651565 
    15661566    def _uploadPhotos( self, candRoom, params ): 
    1567         if params.get( "largePhotoPath" ) and params.get( "smallPhotoPath" ): 
     1567        if (params.get( "largePhotoPath" ) and params.get( "smallPhotoPath" ) 
     1568            and params["largePhotoPath"].filename and params["smallPhotoPath"].filename): 
    15681569            candRoom.savePhoto( params["largePhotoPath"] ) 
    15691570            candRoom.saveSmallPhoto( params["smallPhotoPath"] ) 
Note: See TracChangeset for help on using the changeset viewer.