Changeset 4432


Ignore:
Timestamp:
Apr 25, 2017, 5:48:04 PM (2 years ago)
Author:
mabarracus
Message:

Fix bug reading profile

Location:
syncer-plank-client/trunk/fuentes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • syncer-plank-client/trunk/fuentes/debian/changelog

    r4427 r4432  
     1syncer-plank-client (0.2.1) xenial; urgency=medium
     2
     3  * Fix bug reading profile
     4
     5 -- M.Angel Juan <m.angel.juan@gmail.com>  Tue, 25 Apr 2017 17:47:40 +0200
     6
    17syncer-plank-client (0.2) xenial; urgency=medium
    28
  • syncer-plank-client/trunk/fuentes/syncer-plank-client.install/usr/share/n4d/python-plugins/PlankSync.py

    r4427 r4432  
    7777                with open('/etc/syncer-plank/'+profile_name+'.sync','r') as f:
    7878                    data=json.load(f)
    79                     return self._get_planks(data[2:])
     79                    return self._get_planks(data[3:])
    8080            except:
    8181                return False
     
    135135#if __name__ == '__main__':
    136136#    sync=PlankSync()
    137 #    ret=sync.get_profiles()
     137#    ret=sync.read_profile('nuevo')
    138138#    print('{}'.format(ret))
    139139
Note: See TracChangeset for help on using the changeset viewer.