~ipt-dev/indicator-prayer-times/Realese

« back to all changes in this revision

Viewing changes to prayertime.py

  • Committer: Mohamed Alaa
  • Date: 2012-11-02 17:04:10 UTC
  • Revision ID: m-alaa8@ubuntu.com-20121102170410-9qxz3q9dgp4r72ad
fix error in prayer time module

Show diffs side-by-side

added added

removed removed

Lines of Context:
163
163
 
164
164
        fmt = to_hrtime(self._zuhr, True)
165
165
        if "00" in fmt:
166
 
                        fixedfmt = fmt.replace('00','12')
 
166
                        fmt = fmt.replace('00','12')
167
167
        else:
168
 
                        fixedfmt == fmt
 
168
                        fmt == fmt
169
169
        return fixedfmt
170
170
 
171
171