fix syntax error
[sfa.git] / sfa / rspecs / pg_rspec.py
index c0a8c06..b60041a 100755 (executable)
@@ -49,10 +49,10 @@ class PGRSpec(RSpec):
             self.create()
 
     def __get_template(self):
-        if self.type = 'adversisement':
+        if self.type == 'adversisement':
             rspec_type = 'ad'
         else:
-            rspec_type = 'request'
+            rspec_type == 'request'
         return self.tempate % locals() 
 
     def create():