Quellcode durchsuchen

remove debug code and comments

Daniel Sheffield vor 1 Jahr
Ursprung
Commit
e16f1213fc
2 geänderte Dateien mit 0 neuen und 4 gelöschten Zeilen
  1. 0 2
      app/activities/TransactionEditor.py
  2. 0 2
      app/data/QueryManager.py

+ 0 - 2
app/activities/TransactionEditor.py

@@ -98,8 +98,6 @@ class TransactionEditor(FocusWidget):
         elif key == 'shift tab':
             self.advance_focus(reverse=True)
         elif key == 'ctrl delete':
-            print(self.data)
-            input()
             self.clear()
             self.focus_on(self.edit_fields['product'])
         elif key == 'insert':

+ 0 - 2
app/data/QueryManager.py

@@ -131,8 +131,6 @@ class QueryManager(object):
 
     def get_historic_prices_data(self, unit, sort=None, product=None, category=None, group=None, organic=None, limit=None):
         statement = get_historic_prices_statement(unit, sort=sort, product=product, category=category, group=group, organic=organic, limit=limit)
-        #print(self.cursor.mogrify(statement).decode('utf-8'))
-        #input()
         data = get_data(self.cursor, statement)
         return pd.DataFrame(map(lambda x: dict(
             map(lambda k: (k, self.display(x[k], k)), x)