kopia lustrzana https://github.com/evil-mad/EggBot
fixed a future-proof warning, converting 'if not node:' to 'if node is None:' to match the style of the other function. Should not affect functionality of the extension, but simply make the warning message go away.
git-svn-id: https://eggbotcode.googlecode.com/svn/trunk@198 72233254-1b6c-9e9c-5072-401df62706fbpull/47/head
rodzic
635f15ad68
commit
ce7d223d26
|
@ -56,7 +56,7 @@ class EggbotMachineToolFixup( inkex.Effect ):
|
|||
- Remove font name info so that we don't process this again
|
||||
'''
|
||||
|
||||
if not node:
|
||||
if node is None:
|
||||
return
|
||||
|
||||
style_str = node.get( 'style' )
|
||||
|
|
Ładowanie…
Reference in New Issue