Changeset 3674


Ignore:
Timestamp:
Feb 20, 2017, 1:15:00 PM (3 years ago)
Author:
daduve
Message:

Fix Bug in save JSON groups

Location:
epoptes/trunk/fuentes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • epoptes/trunk/fuentes/debian/changelog

    r3421 r3674  
     1epoptes (0.5.9-lliurex21) xenial; urgency=high
     2
     3  * Fix Bug in save JSON groups
     4
     5 -- Daniel Duran Vecino <daduve@gmail.com>  Mon, 20 Feb 2017 13:14:32 +0100
     6
    17epoptes (0.5.9-lliurex20) xenial; urgency=high
    28
  • epoptes/trunk/fuentes/epoptes/common/config.py

    r3421 r3674  
    201201        f.write(json.dumps(data, indent=2))
    202202        f.close()
     203        f=open(filename)
     204        datas=json.loads(f.read())
     205        f.close
    203206        #print "JSON ESCRITO"
    204207    except:
    205208        pass
    206     valor=str(n4d_mode)
     209    #valor=str(n4d_mode)
    207210    #print "N4D_MODE POSEEEEEEE EL VALOR DE: %s" %valor
    208211    if n4d_mode!=None:
     
    215218
    216219                #print c.set_variable(n4d_mode,"VariablesManager","EPOPTES_GROUPS",data)
    217                 c.set_group(n4d_mode,"EpoptesVariables",n4d_mode,data)
     220                c.set_group(n4d_mode,"EpoptesVariables",n4d_mode,datas)
    218221
    219222
Note: See TracChangeset for help on using the changeset viewer.