Changeset 7249

Show
Ignore:
Timestamp:
10/15/06 12:51:26 (2 years ago)
Author:
asterix
Message:

remove duplicate code

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/gajim.py

    r7229 r7249  
    16381638 
    16391639        def init_emoticons(self): 
    1640                 if not gajim.config.get('emoticons_theme'): 
     1640                emot_theme = gajim.config.get('emoticons_theme') 
     1641                if not emot_theme: 
    16411642                        return 
    16421643 
     
    16451646                self.emoticons = dict() 
    16461647 
    1647                 emot_theme = gajim.config.get('emoticons_theme') 
    1648                 if not emot_theme: 
    1649                         return 
    16501648                path = os.path.join(gajim.DATA_DIR, 'emoticons', emot_theme) 
    16511649                if not os.path.exists(path):