Changeset 7133


Ignore:
Timestamp:
Apr 11, 2018, 5:54:31 PM (18 months ago)
Author:
jrpelegrina
Message:

Fix code

Location:
holiday-manager/trunk/fuentes/holiday-manager/python3-holidaymanager
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • holiday-manager/trunk/fuentes/holiday-manager/python3-holidaymanager/HolidayBox.py

    r7123 r7133  
    128128
    129129
    130         def _start_api_connect(self):
     130        def start_api_connect(self):
    131131
    132132                gettext.textdomain(settings.TEXT_DOMAIN)
  • holiday-manager/trunk/fuentes/holiday-manager/python3-holidaymanager/HolidayManager.py

    r7116 r7133  
    1717                super(HolidayManager, self).__init__()
    1818
    19                 self.dbg=1
     19                self.dbg=0
    2020                self.config_dir=os.path.expanduser("/etc/manageHolidays/")
    2121                self.config_file=os.path.join(self.config_dir,"holiday_list")
     
    7777                '''
    7878                if os.path.exists(self.block_file):
    79                         return {"result":False,"code":1,"info":""}
     79                        return {"status":False,"code":1,"info":""}
    8080                else:
    8181                        self._create_conf(self.config_dir,self.block_file)
     
    238238
    239239
    240                 return {"status":False,"code":9}
     240                return {"status":False,"code":9,"info":""}
    241241               
    242242       
Note: See TracChangeset for help on using the changeset viewer.